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

ldap_dn2ufn

PHP function Edit on GitHub ✎

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

Convert DN to User Friendly Naming format

Description

ldap_dn2ufn(string $dn): string|false

Turns the specified dn, into a more user-friendly form, stripping off type names.

Parameters

dn

The distinguished name of an LDAP entity.

Return Values

Returns the user friendly name, Falseforfailure.

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