Share via


EXTENDED_NAME_FORMAT (Compact 2013)

3/28/2014

This enumeration contains values that specify 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,
  NameWindowsCeLocal = 0x80000001
} EXTENDED_NAME_FORMAT, *PEXTENDED_NAME_FORMAT;

Elements

  • NameUnknown
    Unknown name type.

    Not supported.

  • NameFullyQualifiedDN
    Fully qualified distinguished name.

    Not supported.

  • NameSamCompatible
    Account name, for example, Engineering\JSmith.

    The domain-only version includes trailing backslashes (\\).

  • NameDisplay
    A friendly display name, such as Jeff Smith. The display name is not necessarily the defining relative distinguished name (RDN).

    Not supported.

  • NameUniqueId
    GUID string that the IIDFromString function returns.

    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

Header

windows.h

See Also

Reference

Kernel Enumerations

Other Resources

IIDFromString
SetCurrentUser