Previous Topic: search-req Command—Find Entries

Next Topic: LDAP-Only Examples

search-req-filter

The search-req-filter option defines the filter for the search-req command. The search-req command uses the filter to determine whether to display the entries it finds, or to exclude these entries from its results.

Syntax

A search-req filter consists of one filter item, or a number of filter items linked together by one of the logical operators: and, not, or.

Hence you can use any of the following formats:

search-filter-item
and {search-filter-item ,search-filter-item ...}
or {search-filter-item ,search-filter-item ...}
not {search-filter-item} 

The braces ({}) in these expressions are part of the syntax and define the scope of the operator.

Wherever you have one search filter item you can replace it with one of the above expressions, and you can can nest these expressions indefinitely.


Copyright © 2009 CA. All rights reserved. Email CA about this topic