Previous Topic: Using Search ProfilesNext Topic: Assign a Search Profile to a Role


Create Search Profiles

Create search profiles if you want to restrict the searches that specified users can perform.

Define all the search profiles in one place in one configuration file.

To create a search profile

  1. In a configuration file, enter the command to clear search profiles, clear allow-search, followed by one or more instances of the command to create search profiles, set allow-search, as follows:
    clear allow-search;
    set allow-search profile_name ={
    ...
    
  2. Stop the DSA.
  3. Restart the DSA.

If a role has the attribute dxAllowSearch and the attribute value equals a defined search profile name, and then any user in that role is now restricted to the searches allowed in the search profile.

More information:

set allow-search Command—Create a Search Profile

get allow-search Command—Display a list of All Search Profiles

clear allow-search Command—Remove all Search Profiles