array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.ldap-get-dn.php', 1 => 'ldap_get_dn', 2 => 'Get the DN of a result entry', ), 'up' => array ( 0 => 'ref.ldap.php', 1 => 'Функції LDAP', ), 'prev' => array ( 0 => 'function.ldap-get-attributes.php', 1 => 'ldap_get_attributes', ), 'next' => array ( 0 => 'function.ldap-get-entries.php', 1 => 'ldap_get_entries', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ldap/functions/ldap-get-dn.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ldap_get_dn

(PHP 4, PHP 5, PHP 7, PHP 8)

ldap_get_dnGet the DN of a result entry

Опис

ldap_get_dn(LDAP\Connection $ldap, LDAP\ResultEntry $entry): string|false

Finds out the DN of an entry in the result.

Параметри

ldap

Примірник LDAP\Connection, якого повертає ldap_connect().

entry

Примірник LDAP\ResultEntry.

Значення, що повертаються

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

Журнал змін

Версія Опис
8.1.0 Тепер параметр ldap має бути примірником LDAP\Connection; раніше очікувався дійсний resource ldap link.
8.1.0 Тепер параметр entry має бути примірником LDAP\ResultEntry; раніше очікувався дійсний resource ldap result entry.