An instance of OM class DS_C_ENTRY_INFO_SELECTION identifies the information to be extracted from a directory entry.
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_ENTRY_INFO_SELECTION
OM Attribute |
Value Syntax | Value Length | Value Number | Value Initially |
DS_ALL_ ATTRIBUTES |
OM_S_ BOOLEAN |
- | 1 | OM_TRUE |
DS_ ATTRIBUTES_ SELECTED |
String(OM_S_ OBJECT_ IDENTIFIER_ STRING) |
- | 0 or more | - |
DS_INFO_TYPE | Enum(DS_ Information_ Type |
- | 1 | DS_TYPES_ AND_VALUES |
This attribute indicates which attributes are relevant. It can take one of the following values:
- OM_FALSE, meaning that information is only requested on those attributes that are listed in the OM attribute DS_ATTRIBUTES_SELECTED.
- OM_TRUE, meaning that information is requested on all attributes in the directory entry. Any values of the OM attribute DS_ATTRIBUTES_SELECTED are ignored in this case.
· DS_ATTRIBUTES_SELECTED
This attribute lists the types of attributes in the entry from which information will be extracted. The value of this OM attribute is used only if the value of DS_ALL_ATTRIBUTES is OM_FALSE. If an empty list is supplied, no attribute data is returned that could be used to verify the existence of an entry for a DN.
· DS_INFO_TYPE
This attribute identifies what information will be extracted from each attribute identified. It must take one of the following values:
- DS_TYPES_ONLY, meaning that only the attribute types of the selected attributes in the entry are returned.
- DS_TYPES_AND_VALUES, meaning that both the attribute types and the attribute values of the selected attributes in the entry are returned.