ldap_exop_whoami

(PHP 7 >= 7.2.0, PHP 8)

ldap_exop_whoamiWHOAMI extended operation helper

說(shuō)明

ldap_exop_whoami(LDAP\Connection $ldap): string|false

Performs a WHOAMI extended operation and returns the data.

參數(shù)

ldap

通過(guò) ldap_connect() 返回的 LDAP\Connection 實(shí)例。

返回值

The data returned by the server, or false on error.

更新日志

版本 說(shuō)明
8.1.0 現(xiàn)在 ldap 參數(shù)接受 LDAP\Connection 實(shí)例,之前接受 資源(resource)

參見