An instance of OM class DS_C_SEARCH_GUIDE suggests a criteria for searching the directory for particular entries. It can be used to build a DS_C_FILTER parameter for ds_search( ) operations that are based on the object in whose entry the search guide occurs.
An instance of this OM class has the OM attributes of its superclass, OM_C_OBJECT, in addition to the OM attributes listed in the following table.
OM Attributes of DS_C_SEARCH_GUIDE
OM Attribute |
Value Syntax |
Value Length | Value Number | Value Initially |
DS_OBJECT_ CLASS |
String (OM_S_ OBJECT_ IDENTIFIER_ STRING |
- | 0 or 1 | - |
DS_CRITERIA | Object(DS_C_ SEARCH_ CRITERION |
- | 1 | - |
This attribute identifies the object class of the entries to which the search guide applies. If this OM attribute is absent, the search guide applies to objects of any class.
· DS_CRITERIA
This attribute contains the suggested search criteria.