attrModOp (property)
An operation to apply on attributes during an LDAP modify operation.
Syntax
- (int)attrModOp:(int)attrIndex; - (void)setAttrModOp:(int)attrIndex:(int)newAttrModOp;
/* Possible Values */
AMO_ADD(0),
AMO_DELETE(1),
AMO_REPLACE(2)
public func attrModOp(attrIndex: Int32) throws -> LdapAttrModOps
public func setAttrModOp(attrIndex: Int32, newAttrModOp: LdapAttrModOps) throws -> Void
public enum LdapAttrModOps : Int32 { case amoAdd = 0 case amoDelete = 1 case amoReplace = 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.