SeQueryAuthenticationIdToken - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

NTSTATUS SeQueryAuthenticationIdToken(
  [in]  PACCESS_TOKEN Token,
  [out] PLUID         AuthenticationId
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-sequeryauthenticationidtoken)

SeQueryAuthenticationIdToken function

Description

The SeQueryAuthenticationIdToken routine retrieves the authentication ID of an access token.

Parameters

Token [in]

Pointer to an access token.

AuthenticationId [out]

Authentication ID of the access token. (An Authentication ID is the locally unique identifier, or LUID, that is assigned to the logon session that the access token represents. There can be many tokens representing a single logon session.)

Return value

Return code Description
STATUS_SUCCESS The call to SeQueryAuthenticationIdToken succeeded.

Remarks

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

See also

LUID

PsDereferenceImpersonationToken

PsDereferencePrimaryToken

SeQueryInformationToken

SeQuerySubjectContextToken

SeTokenIsAdmin

SeTokenIsRestricted