Search entry criteria
Use search entry criteria when matching search result entries, which are entries that match search criteria and are intended to be returned to the client.
They contain the DN and set of attributes that you typically find in an entry, and they can also optionally include a set of controls.
Simple search entry criteria
Simple search entry criteria objects provide support for matching search result entries based on the following properties.
Property | Description |
---|---|
|
An optional reference to request criteria that is expected to match the search request for this entry criteria to match. |
|
An optional set of OIDs of controls that must be included with the search result entry to match this criteria. If multiple OIDs are specified, then the entry must have all of those controls. |
|
An optional set of OIDs of controls that must be included with the search result entry to match this criteria. If multiple OIDs are specified, then the entry must have at least one of those controls. |
|
An optional set of OIDs of controls that should not be included with the search result entry to match this criteria. If multiple OIDs are specified, then the entry can optionally have one or more of those controls as long as it does not have all of them. |
|
An optional set of OIDs of controls that should not be included with the search result entry to match this criteria. If multiple OIDs are specified, then the entry must not have any of those controls. |
|
An optional set of base DNs for entries that might match this criteria. |
|
An optional set of base DNs for entries that do not match this criteria. |
|
An optional set of OIDs of search filters that must match the entry for this criteria to match. If multiple filters are specified, then the entry must match all of them. |
|
An optional set of OIDs of search filters that must match the entry for this criteria to match. If multiple filters are specified, then the entry must match at least one of them. |
|
An optional set of OIDs of search filters that should not match the entry for this criteria to match. If multiple filters are specified, then the entry can optionally match one or more of them as long as it does not match all of them. |
|
An optional set of OIDs of search filters that should not match the entry for this criteria to match. If multiple filters are specified, then the entry must not match any of them. |
|
An optional set of the DNs of groups in which the entry must be a member for this criteria to match. If multiple groups are specified, then the entry must be a member of all of them. |
|
An optional set of the DNs of groups in which the entry must be a member for this criteria to match. If multiple groups are specified, then the entry must be a member of at least one of them. |
|
An optional set of the DNs of groups in which the entry should not be a member for this criteria to match. If multiple groups are specified, then the entry can optionally be a member of one or more of them as long as it is not a member of all of them. |
|
An optional set of the DNs of groups in which the entry should not be a member for this criteria to match. If multiple groups are specified, then the entry must not be a member of any of them. |
Aggregate search entry criteria
Use aggregate search entry criteria to create a single search entry criteria that combines multiple other search entry criteria objects.
It offers the following properties.
Property | Description |
---|---|
|
An optional set of the search entry criteria objects that must all match the entry for this aggregate criteria to match. |
|
An optional set of the search entry criteria objects in which at least one of those criteria objects must match the entry for this aggregate criteria to match. |
|
An optional set of the search entry criteria objects in which at least one of those criteria objects must not match the entry for this aggregate criteria to match. |
|
An optional set of the search entry criteria objects in which none of those objects can match the entry for this aggregate criteria to match. |