ldap_mod_replace
(PHP 4, PHP 5, PHP 7, PHP 8)
Replace attribute values with new ones
Description
Replaces one or more attributes from the specified dn. It may also add or remove attributes.
Parameters
ldapLdap
dnThe distinguished name of an LDAP entity.
entryAn associative array listing the attributes to replace. Sending an empty array as value will remove the attribute, while sending an attribute not existing yet on this entry will add it.
controlsArray of LDAP Controls to send with the request.
Return Values
Success
Changelog
| Version | Description |
|---|---|
| 7.3.0 | Support for controls added |