TOKEN_LOGGING_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTSEAPI_H
#if !defined(NTDDI_WIN11_GE) || (NTDDI_VERSION < NTDDI_WIN11_GE)

typedef struct _TOKEN_LOGGING_INFORMATION
{
    TOKEN_TYPE TokenType;
    TOKEN_ELEVATION TokenElevation;
    TOKEN_ELEVATION_TYPE TokenElevationType;
    SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
    ULONG IntegrityLevel;
    SID_AND_ATTRIBUTES User;
    PSID TrustLevelSid;
    ULONG SessionId;
    ULONG AppContainerNumber;
    LUID AuthenticationId;
    ULONG GroupCount;
    ULONG GroupsLength;
    PSID_AND_ATTRIBUTES Groups;
} TOKEN_LOGGING_INFORMATION, *PTOKEN_LOGGING_INFORMATION;

#endif
#endif

View code on GitHub
// ntifs.h

typedef struct _TOKEN_LOGGING_INFORMATION {
  TOKEN_TYPE                   TokenType;
  TOKEN_ELEVATION              TokenElevation;
  TOKEN_ELEVATION_TYPE         TokenElevationType;
  SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
  ULONG                        IntegrityLevel;
  SID_AND_ATTRIBUTES           User;
  PSID                         TrustLevelSid;
  ULONG                        SessionId;
  ULONG                        AppContainerNumber;
  LUID                         AuthenticationId;
  ULONG                        GroupCount;
  ULONG                        GroupsLength;
  PSID_AND_ATTRIBUTES          Groups;
} TOKEN_LOGGING_INFORMATION, *PTOKEN_LOGGING_INFORMATION;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntifs-token_logging_information)

Description

The TOKEN_LOGGING_INFORMATION provides detailed information about a security token.

Members

TokenType

A TOKEN_TYPE value that indicates the type of the token.

TokenElevation

A TOKEN_ELEVATION value that indicates the elevation level of the token.

TokenElevationType

A TOKEN_ELEVATION_TYPE value that indicates the elevation type of the token.

ImpersonationLevel

A SECURITY_IMPERSONATION_LEVEL value that indicates the impersonation level of the token.

IntegrityLevel

Indicates the integrity level of the token.

User

A SID_AND_ATTRIBUTES structure that contains the user SID and its attributes.

TrustLevelSid

Pointer to a SID structure representing the trust level of the token.

SessionId

The session ID associated with the token.

AppContainerNumber

The number of the app container associated with the token.

AuthenticationId

A LUID that represents the authentication ID of the token.

GroupCount

Number of groups associated with the token.

GroupsLength

Length in bytes of the Groups array.

Groups

Pointer to an array of SID_AND_ATTRIBUTES structures that represent the groups associated with the token.