attrModOp (property)
An operation to apply on attributes during an LDAP modify operation.
- (int)attrModOp:(int)attrIndex
- (void)setAttrModOp:(int)attrIndex :(int)newAttrModOp
Possible Values
AMO_ADD(0), AMO_DELETE(1), AMO_REPLACE(2)
Default Value
0
Remarks
An operation to apply on attributes during an LDAP modify operation.
Possible values include:
amoAdd (0) | amoAdd will add the specified value to the given attribute, creating the attribute if it does not already exist. |
amoDelete (1) | amoDelete will delete the specified value from the given attribute. If all or none of the values are specified for the value, the entire attribute will be deleted; otherwise only the specific value(s) listed will be removed. |
amoReplace (2) | amoReplace will replace all existing values of the given attribute with the new values specified. |
The size of the array is controlled by the AttrCount property.