Export (0) Print
Expand All

SeQueryAuthenticationIdToken routine

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

Syntax


NTSTATUS SeQueryAuthenticationIdToken(
  _In_   PACCESS_TOKEN Token,
  _Out_  PLUID AuthenticationId
);

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 codeDescription
STATUS_SUCCESS

The call to SeQueryAuthenticationIdToken succeeded.

 

Remarks

For more information about security and access control, see the documentation on these topics in the Microsoft Windows SDK.

Requirements

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

LUID
PsDereferenceImpersonationToken
PsDereferencePrimaryToken
SeQueryInformationToken
SeQuerySubjectContextToken
SeTokenIsAdmin
SeTokenIsRestricted

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft