(PHP 7 >= 7.2.0, PHP 8)
ldap_exop_whoami — WHOAMI extended operation helper
$ldap
) : string|falsePerforms 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.