Token

final class ntoseye.Token

Subclass of BaseRecord.

The primary token of a process (!token).

property authentication_id: Diagnostic[int]

The LUID of the logon session.

property flags: Diagnostic[int]

TokenFlags.

property groups: Diagnostic[list[SidAndAttributes]]
property impersonation_level: Diagnostic[int]

SECURITY_IMPERSONATION_LEVEL.

property privileges: Diagnostic[list[TokenPrivilege]]
property process: ProcessIdentity

The process record.

property token: int

The _TOKEN.

property token_id: Diagnostic[int]
property token_type: Diagnostic[int]

TOKEN_TYPE: 1 is primary, 2 is impersonation.

property user: Diagnostic[SidAndAttributes | None]

Its value is None if the token does not name a user.