AttrModOp Property
An operation to apply on attributes during an LDAP modify operation.
Syntax
int GetAttrModOp(int iAttrIndex);
int SetAttrModOp(int iAttrIndex, int iAttrModOp);
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 AttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrCount property.
This property is not available at design time.
Data Type
Integer