ldap_exop_whoami

(PHP 7 >= 7.2.0, PHP 8)

ldap_exop_whoamiWHOAMI extended operation helper

说明

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

Performs a WHOAMI extended operation and returns the data.

参数

ldap

通过 ldap_connect() 返回的 LDAP\Connection 实例。

返回值

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

更新日志

版本 说明
8.1.0 现在 ldap 参数接受 LDAP\Connection 实例,之前接受 资源(resource)

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/function.ldap-exop-whoami.php