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 实例,之前接受有效的 ldap link resource

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top