attr_mod_op Property
An operation to apply on attributes during an LDAP modify operation.
Syntax
def get_attr_mod_op(attr_index: int) -> int: ... def set_attr_mod_op(attr_index: int, value: int) -> None: ...
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 attr_index parameter specifies the index of the item in the array. The size of the array is controlled by the attr_count property.