Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
System Information
 EXTENDED_NAME_FORMAT Enumeration
EXTENDED_NAME_FORMAT Enumeration

Specifies a format for a directory service object name.

Syntax

typedef enum  {
  NameUnknown            = 0,
  NameFullyQualifiedDN   = 1,
  NameSamCompatible      = 2,
  NameDisplay            = 3,
  NameUniqueId           = 6,
  NameCanonical          = 7,
  NameUserPrincipal      = 8,
  NameCanonicalEx        = 9,
  NameServicePrincipal   = 10,
  NameDnsDomain          = 12 
} EXTENDED_NAME_FORMAT, 
*PEXTENDED_NAME_FORMAT;

Constants

NameUnknown

An unknown name type.

NameFullyQualifiedDN

The fully-qualified distinguished name (for example, CN=Jeff Smith,OU=Users,DC=Engineering,DC=Microsoft,DC=Com).

NameSamCompatible

A legacy account name (for example, Engineering\JSmith). The domain-only version includes trailing backslashes (\\).

NameDisplay

A "friendly" display name (for example, Jeff Smith). The display name is not necessarily the defining relative distinguished name (RDN).

NameUniqueId

A GUID string that the IIDFromString function returns (for example, {4fa050f0-f561-11cf-bdd9-00aa003a77b6}).

NameCanonical

The complete canonical name (for example, engineering.microsoft.com/software/someone). The domain-only version includes a trailing forward slash (/).

NameUserPrincipal

The user principal name (for example, someone@example.com).

NameCanonicalEx

The same as NameCanonical except that the rightmost forward slash (/) is replaced with a new line character (\n), even in a domain-only case (for example, engineering.microsoft.com/software\nJSmith).

NameServicePrincipal

The generalized service principal name (for example, www/www.microsoft.com@microsoft.com).

NameDnsDomain

The DNS domain name followed by a backward-slash and the SAM username.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderSecext.h (include Security.h)

See Also

GetComputerObjectName
GetUserNameEx
TranslateName


Send comments about this topic to Microsoft

Build date: 11/6/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker