LDAP
PHP Manual

ldap_get_dn

(PHP 4, PHP 5)

ldap_get_dn — Get the DN of a result entry

说明

string ldap_get_dn ( resource $link_identifier , resource $result_entry_identifier )

Finds out the DN of an entry in the result.

参数

link_identifier

An LDAP link identifier, returned by ldap_connect().

result_entry_identifier

返回值

Returns the DN of the result entry and FALSE on error.


LDAP
PHP Manual