ldap_delete
Delete an entry from a directory
Description
bool ldap_delete(LDAP\Connection $ldap
, string $dn
, arraynull $controls
= null
)
Parameters
-
ldap
-
An LDAP\Connection instance, returned by ldap_connect.
-
dn
-
The distinguished name of an LDAP entity.
-
controls
-
Array of LDAP Controls to send with the request.
Return Values
Returns true
on success or false
on failure.