PreviousNext

DS_C_COMPARE_RESULT

An instance of OM class DS_C_COMPARE_RESULT comprises the results of a successful call to ds_compare( ).

An application is not permitted to create or modify instances of this OM class. An instance of this OM class has the OM attributes of its superclasses, OM_C_OBJECT and DS_C_COMMON_RESULTS, in addition to the OM attributes listed in the following table.


OM Attributes of DS_C_COMPARE_RESULT


OM Attribute
Value Syntax Value Length Value Number Value Initially
DS_FROM_ENTRY OM_S_
BOOLEAN
- 1 -
DS_MATCHED OM_S_
BOOLEAN
- 1 -
DS_OBJECT_NAME Object(DS_C_
NAME)
- 0 or 1 -
· DS_FROM_ENTRY
This attribute indicates whether the assertion is tested against the specified object's entry, rather than a copy of the entry.

· DS_MATCHED
This attribute indicates whether the assertion specified as an argument returns the value OM_TRUE. It takes the value OM_TRUE if the values are compared and matched; otherwise, it takes the value OM_FALSE.

· DS_OBJECT_NAME
This attribute contains the DN of the target object of the operation. It is present if the OM attribute DS_ALIAS_DEREFERENCED, inherited from the superclass DS_C_COMMON_RESULTS, is OM_TRUE.