ldap_dn2ufn

The ldap_dn2ufn() function converts the supplied DN into a more user-friendly form by stripping off the type names. The resulting character string is returned in result.

result = ldap_dn2ufn (dn);
dn Required. A string that contains a DN (Distinguished Name).
string A character string that contains a DN name with type names removed.
Empty string Error.
result = ldap_dn2ufn (dn);

In this example, result contains the specified DN name without type names.

For more information, please see ldap_explodedn.