ldap_delete
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Delete an entry from a directory
Description
ldap_delete(LDAP\Connection $ldap, string $dn, array|null $controls = null): bool
Deletes a particular entry in LDAP directory.
Parameters
ldapLdap
dnThe distinguished name of an LDAP entity.
controlsArray of LDAP Controls to send with the request.
Return Values
Success
Changelog
| Version | Description |
|---|---|
| 7.3.0 | Support for controls added |