DsIsMangledDn function
The DsIsMangledDn function determines if the first relative distinguished name (RDN) in a distinguished name (DN) is a mangled name of a given type.
Syntax
BOOL DsIsMangledDn( _In_ LPCTSTR pszDn, _In_ DS_MANGLE_FOR eDsMangleFor );
Parameters
- pszDn [in]
-
Pointer to a null-terminated string that contains the distinguished name to retrieve the relative distinguished name from. This can also be a quoted distinguished name as returned by other directory service functions.
- eDsMangleFor [in]
-
Contains one of the DS_MANGLE_FOR values that specifies the type of name mangling to look for.
Return value
Returns TRUE if the first relative distinguished name in pszDn is mangled in the manner specified by eDsMangleFor or FALSE otherwise.
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
DsIsMangledDnW (Unicode) and DsIsMangledDnA (ANSI) |
See also