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

An LDAP\Connection instance, returned by ldap_connect().

返回值

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

更新日志

版本 说明
8.1.0 The ldap parameter expects an LDAP\Connection instance now; previously, a 资源(resource) was expected.

参见

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有