PreviousNext

DS_C_ENTRY_MOD

An instance of OM class DS_C_ENTRY_MOD describes a single modification to a specified attribute of a directory entry.

An instance of this OM class has the OM attributes of its superclasses, OM_C_OBJECT and DS_C_ATTRIBUTE, in addition to the OM attribute listed in the following table.


OM Attribute of DS_C_ENTRY_MOD


OM Attribute
Value Syntax Value Length Value Number Value Initially
DS_MOD_TYPE Enum(DS_
Modification_
Type
- 1 DS_ADD_
ATTRIBUTE
The attribute type to be modified, and the associated values, are specified in the OM attributes DS_ATTRIBUTE_TYPE and DS_ATTRIBUTE_VALUES that are inherited from the DS_C_ATTRIBUTE superclass.

· DS_MOD_TYPE

This attribute identifies the type of modification. It must have one of the following values:

- DS_ADD_ATTRIBUTE, meaning that the specified attribute is absent and will be added with the specified values.

- DS_ADD_VALUES, meaning that the specified attribute is present and that one or more specified values will be added to it.

- DS_REMOVE_ATTRIBUTE, meaning that the specified attribute is present and will be removed. Any values present in the OM attribute DS_ATTRIBUTE_VALUES are ignored.

- DS_REMOVE_VALUES, meaning that the specified attribute is present and that one or more specified values will be removed from it.