(PHP 7 >= 7.2.0, PHP 8)
ldap_exop_whoami — WHOAMI extended operation helper
Performs a WHOAMI extended operation and returns the data.
ldapAn LDAP\Connection instance, returned by ldap_connect().
   The data returned by the server, or false on error.
  
| 版本 | 说明 | 
|---|---|
| 8.1.0 | The ldapparameter expects an LDAP\Connection
  instance now; previously, a 资源(resource) was expected. |