Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Dsparse.h (include Ntdsapi.h)

Library

Ntdsapi.lib

DLL

Ntdsapi.dll

Unicode and ANSI names

DsIsMangledDnW (Unicode) and DsIsMangledDnA (ANSI)

See also

DS_MANGLE_FOR
DsIsMangledRdnValue
Domain Controller and Replication Management Functions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.