(PHP 7 >= 7.2.0)
ldap_exop_whoami — WHOAMI extended operation helper
$ldap
) : string|boolPerforms a WHOAMI extended operation and returns the data.
ldap
An LDAP link identifier, returned by ldap_connect().
The data returned by the server, or false
on error.