EXTENDED_NAME_FORMAT
This enumeration contains values that specify a format for a directory service object name.
typedef enum {
NameUnknown = 0,
NameFullyQualifiedDN = 1,
NameSamCompatible = 2,
NameDisplay = 3,
NameUniqueId = 6,
NameCanonical = 7,
NameUserPrincipal = 8,
NameCanonicalEx = 9,
NameServicePrincipal = 10,
NameWindowsCeLocal = 0x80000001
} EXTENDED_NAME_FORMAT, *PEXTENDED_NAME_FORMAT;
Elements
- NameUnknown
Unknown name type. Not supported. - NameFullyQualifiedDN
Fully qualified distinguished name. For example, CN=Jeff Smith,OU=Users,DC=Engineering,DC=Microsoft,DC=Com. Not supported. - NameSamCompatible
Account name, like Engineering\JSmith. The domain-only version includes trailing backslashes (\\). - NameDisplay
A "friendly" display name, like Jeff Smith. The display name is not necessarily the defining relative distinguished name (RDN). Not supported. - NameUniqueId
GUID string that the IIDFromString function returns, for example {4fa050f0-f561-11cf-bdd9-00aa003a77b6}. Not supported. - NameCanonical
Complete canonical name. The domain-only version includes a trailing forward slash (/). Not supported. - NameUserPrincipal
User principal name. Not supported. - NameCanonicalEx
Same as NameCanonical except that the rightmost forward slash (/) is replaced with a newline character (\n), even in a domain-only case. Not supported. - NameServicePrincipal
Generalized service principal name. Not supported. - NameWindowsCeLocal
Returns the local name passed to the SetCurrentUser function.
Remarks
Only NameSamCompatible and NameWindowsCeLocal are supported.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.
See Also
IIDFromString | SetCurrentUser
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.