ldap_modify
bool ldap_modify(resource connectionID, string DN, array entry)
connectionID | Connection ID |
DN | Distinguished name of the entry to be modified |
entry | Information to modify |
Modifies an entry.
Returns:
TRUE on success; FALSE on error
Description:
ldap_modify() alters an entry in an LDAP directory. The information to be added is stored in an array passed to the function. If an attribute has only one value, it can be passed to the function in the following format:
$entry_array["attribute"] = value
If an attribute has more than one value, a multidimensional array must be constructed:
$entry_array["attribute"][0] = first value of the attribute $entry_array["attribute"][1] = second value of the attribute
Availability:
UNIX/Linux, ...
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.