UID | tech.root | title | ms.date | targetos | description | prerelease | req.construct-type | req.ddi-compliance | req.dll | req.header | req.include-header | req.kmdf-ver | req.lib | req.max-support | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.typenames | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | helpviewer_keywords | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:sspi._SEC_WINNT_AUTH_IDENTITY_INFO |
security |
SEC_WINNT_AUTH_IDENTITY_INFO |
07/20/2022 |
Windows |
Contains the identity information for authentication. |
false |
structure |
sspi.h |
SEC_WINNT_AUTH_IDENTITY_INFO, *PSEC_WINNT_AUTH_IDENTITY_INFO |
|
|
|
|
|
|
|
Contains the identity information for authentication.
The AuthIdExw authentication identity.
The AuthIdExa authentication identity.
The AuthId_a authentication identity.
The AuthId_w authentication identity.
The AuthIdEx2 authentication identity.
How to parse a SEC_WINNT_AUTH_IDENTITY_INFO structure:
-
First, check the first DWORD of SEC_WINNT_AUTH_IDENTITY_INFO. If the first DWORD is 0x200, it is either an AuthIdExw or AuthIdExA. Otherwise, if the first DWORD is 0x201, the structure is an AuthIdEx2 structure. Otherwise, the structure is either an AuthId_a or an AuthId_w.
-
Secondly, check the flags for SEC_WINNT_AUTH_IDENTITY_ANSI or SEC_WINNT_AUTH_IDENTITY_UNICODE. The presence of the former means the structure is an ANSI structure. Otherwise, the structure is the wide version. Note that AuthIdEx2 does not have an ANSI version, so this check does not apply to it.