Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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,
SecNameSPN
} SECPKG_NAME_TYPE;
Constants
SecNameSamCompatibleThe account name is compatible with the Security Accounts Manager (SAM). An example of a name in SAM-compatible format is "ExampleDomain\UserName". |
SecNameAlternateIdThe account name is in the AltSecId property of the SAM account. |
SecNameFlatThe account name is a flat user principal name (UPN) style account name. |
SecNameDNThe account name is the distinguished name of the object. |
SecNameSPN |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | ntsecpkg.h |