| Platform SDK: Logon Authentication |
The SEC_WINNT_AUTH_IDENTITY_EX structure contains information about a user. Both an ASCI and UNICODE form of this structure are provided.
typedef struct _SEC_WINNT_AUTH_IDENTITY_EX {
unsigned long Version;
unsigned long Length;
LPTSTR User;
unsigned long UserLength;
LPTSTR Domain;
unsigned long DomainLength;
LPTSTR Password;
unsigned long PasswordLength;
unsigned long Flags;
LPTSTR PackageList;
unsigned long PackageListLength;
} SEC_WINNT_AUTH_IDENTITY_EX, *PSEC_WINNT_AUTH_IDENTITY_EX;
| Flag value | Meaning |
|---|---|
| SEC_WINNT_AUTH_IDENTITY_MARSHALLED | All data is in one buffer. |
| SEC_WINNT_AUTH_IDENTITY_ONLY | Used with the Kerberos SSP. Credentials are for identity only. The Kerberos package is directed to not include authorization data in the ticket. |
| SEC_WINNT_AUTH_IDENTITY_ANSI | Credentials are in ANSI form. |
| SEC_WINNT_AUTH_IDENTITY_UNICODE | Credentials are in UNICODE form. |