This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.