Directory Services |
The DsIsMangledRdnValue function determines if a given relative distinguished name value is a mangled name of the given type.
BOOL DsIsMangledRdnValue( LPCTSTR pszRdn, DWORD cRdn, DS_MANGLE_FOR eDsMangleForDesired );
This function determines if the given relative distinguished name value is mangled and mangled in the given type. The pszRdn parameter should only contain the value of the relative distinguished name and not the key. The relative distinguished name value may be quoted or unquoted.
A change was made in the default quoting behavior of distinguished names returned from the other directory service functions between Windows 2000 and Windows XP. This routine transparently handles relative distinguished names with special character from either form.
Client: Included in Windows XP.
Server: Included in Windows Server 2003.
Unicode: Implemented as Unicode and ANSI versionson Windows
NT/2000/XP.
Header: Declared in Ntdsapi.h.
Library: Use Ntdsapi.lib.
DS_MANGLE_FOR, DsIsMangledDn, Domain Controller and Replication Management Functions