php8.5
Home/ Manual/ ldap / functions/ ldap_get_dn

ldap_get_dn

PHP function Edit on GitHub ✎

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

Get the DN of a result entry

Description

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

Finds out the DN of an entry in the result.

Parameters

ldap

Ldap

entry

Entry

Return Values

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

Changelog

VersionDescription

Source: reference/ldap/functions/ldap-get-dn.xml · from the official PHP manual (php/doc-en)