---
name: "ldap_dn2ufnW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ldap_dn2ufnW"
---

# ldap\_dn2ufnW(3w)

## NAME

**ldap\_dn2ufnW** (WLDAP32.@)

## SYNOPSIS

PWCHAR CDECL  ldap\_dn2ufnW\
  (\
   PWCHAR *dn*\
  )

## DESCRIPTION

Convert a **DN** to a user-friendly name.

## PARAMS

*dn* **\[In\]**  **DN** to convert.

## RETURNS

**Success:** Pointer to a string containing the user-friendly name.

**Failure:** **NULL**.

## NOTES

Free the string with ldap\_memfree.

## IMPLEMENTATION

Declared in **"winldap\_private.h"**.

Implemented in **"dlls/wldap32/dn.c"**.
