When invoked on an LDAPSERVICES
instance, the _MODIFY method modifies the attributes and attribute
values in an LDAP directory entry.
The attrs parameter specifies the attributes
and the values in each attribute that are to be modified. The format
of the attrs parameter is a list of lists. Each list contains the
modification type, attribute name, and attribute values, if any. The
lists must have the following format:
List Format
|
|
|
Character value that
represents the type of modification, which can be ADD, DELETE, or
REPLACE.
|
|
Character value that
represents an attribute name.
|
|
Numeric or character
attribute value.
|
|
|
|
Numeric or character
attribute value.
|
If the type of modification
is DELETE and if no attribute values are specified, then the entire
attribute and all values are deleted. If DELETE is specified with
one or more attribute values, then only the specified values are deleted.
If the type of modification
is REPLACE, then the existing attribute is deleted and is replaced
with the specified attribute and attribute values. You must specify
all attribute values, because all of the existing attribute values
are replaced with the attribute values specified with this method.