ldap_dn2ufn (Compact 2013)

3/26/2014

This function converts a distinguished name to a user-friendly format.

Syntax

UNICODE PTCHAR ldap_dn2ufn(
  UNICODE PTCHAR dn
);

Parameters

  • dn
    [in] Distinguished name to convert.

Return Value

If the function is successful, it returns the user-friendly name as a character string.

If this function fails, the return value is NULL.

Remarks

When given an entry's distinguished name, this function returns a character string containing the entry name in a user-friendly format. The nature of the user-friendly format depends on the directory service implementation and the type of entry. The return value remains in memory-allocated space until you call the ldap_memfree function.

Requirements

Header

winldap.h

Library

wldap32.lib

See Also

Reference

Other LDAP Functions
ldap_memfree