Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SECPKG_NAME_TYPE enumeration

The SECPKG_NAME_TYPE enumeration is used to describe the type of name specified for an account.

The SECPKG_NAME_TYPE enumeration is used by the GetAuthDataForUser and OpenSamUser functions.

Syntax


typedef enum _SECPKG_NAME_TYPE { 
  SecNameSamCompatible,
  SecNameAlternateId,
  SecNameFlat,
  SecNameDN
} SECPKG_NAME_TYPE;

Constants

SecNameSamCompatible

The account name is compatible with the Security Accounts Manager (SAM). An example of a name in SAM-compatible format is "ExampleDomain\UserName".

SecNameAlternateId

The account name is in the AltSecId property of the SAM account.

SecNameFlat

The account name is a flat user principal name (UPN) style account name.

SecNameDN

The account name is the distinguished name of the object.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft