If you need to specify multiple criteria when searching for users or groups, you can use an advanced search. For example:
Last Name equals Smith AND Title contains Rep
If you specify multiple criteria groupings (to control the order in which criteria are evaluated), you’ll use the same logical operations to connect them. For example, to perform an advanced search with the following criteria (two criteria groupings connected by an or):
(Last Name equals Smith AND Title contains Rep) OR (First Name starts with k AND Department equals Sales)
specify the following shown in Figure 6-6:
Figure 6-6 Specifying an Advanced Search on the Search List Page
The result of this search is shown in Figure 6-7.
Figure 6-7 Result of Advanced Search
To perform an advanced search:
Go to the Directory Search page and click
. The Basic Search page displays by default.Click
. The Advanced Search page displays:In the
drop-down list, specify the type of information to find by selecting one of the following:Group
User
You can now fill in the
section.Specify a criterion of a criteria grouping:
Use the
drop-down list to select an attribute to search on. For example:Last Name
The list of available attributes is determined by what you’re searching for (users or groups).
Use the
drop-down list to select a comparison operation to perform against your chosen attribute. For example:equals
For more information, see Section 6.3.1, Selecting an Expression.
Use the
entry to specify a value to compare against your chosen attribute. For example:Smith
For more information, see Section 6.3.2, Specifying a Value for Your Comparison.
If you want to specify another criterion of a criteria grouping:
Click
on the right side of the criteria grouping:On the left side of the new criterion, use the
drop-down list to connect this criterion with the preceding one; select either or . You can use only one of the two types of logical operator within any one criteria grouping.Repeat this procedure, starting with Step 4.
To delete a criterion, click
to its right:If you want to specify another criteria grouping:
Click
:Above the new criteria grouping, use the
drop-down list to connect this grouping with the preceding one; select either or .Repeat this procedure, starting with Step 4.
To delete a criteria grouping, click
directly above it:Click
.Your search results display.
To learn about what to do next, see Section 6.4, Working with Search Results.
Click
to select a comparison criterion for your search. The list of comparison (relational) operations available to you in a criterion is determined by the type of attribute specified in that criterion:Table 6-1 Comparison Operations for Searching
The type of attribute specified in a criterion also determines how you specify the value for a comparison in that criterion:
Table 6-2 Method of Entering Comparison Value
Don’t specify a value when the comparison operation is one of the following:
is present
is not present
Text searches are not case sensitive. You’ll get the same results no matter which case you use in your value. For example, these are all equivalent:
McDonald
mcdonald
MCDONALD
You can optionally use the asterisk (*) as a wildcard in your text to represent zero or more of any character. For example:
Mc*
*Donald
*Don*
McD*d
Some search criteria display Lookup, History, and Reset buttons. This section describes how to use these buttons:
Table 6-3 Lookup, History, and Reset Buttons in Search Criteria
Button |
What It Does |
---|---|
|
Looks up a value to use for a comparison |
|
Displays a list of values used for a comparison |
|
Resets the value for a comparison |
To look up a user:
Click
to the right of an entry (for which you want to look up the user):The Lookup page displays:
Specify search criteria for the user you want:
Use the drop-down list to select a search by
or .In the text box next to the drop-down list, type all or part of the name to search for.
The search finds every name that begins with the text you type. It is not case sensitive. You can optionally use the asterisk (*) as a wildcard in your text to represent zero or more of any character.
For instance, all of the following examples finds the first name Chip:
Chip chip c c* *p *h*
Click
.The Lookup page displays your search results:
If you see a list of users that includes the one you want, go to Step 4. Otherwise, go back to Step 2.
You can sort the search results in ascending or descending order by clicking the column headings.
Select the user you want from the list.
The Lookup page closes and inserts the name of that user into the appropriate entry as the value to use for your comparison.
To look up a group as a search criterion for a user:
Add
as a search criterion, then click to the right of the field:The Lookup page displays search results:
Specify search criteria for the group you want:
In the drop-down list, your only choice is to search by
.In the text box next to the drop-down list, type all or part of the description to search for.
The search finds every description that begins with the text you type. It is not case sensitive. You can optionally use the asterisk (*) as a wildcard in your text to represent zero or more of any character.
For instance, all of the following examples find the description Marketing:
Marketing marketing m m* *g *k*
Click
.The Lookup page displays your search results:
If you see a list of groups that includes the one you want, go to Step 4. Otherwise, go back to Step 2.
You can sort the search results in ascending or descending order by clicking the column heading.
Select the group you want from the list.
The Lookup page closes and inserts the description of that group into the appropriate entry as the value to use for your comparison.
To use the
list:Click
to the right of an entry (whose previous values you want to see):The
list displays previous values for this criterion in alphabetical order:Do one of the following: