Skip to content

TokenInfo

Windows access token information.

Fields

groups @ Seq[TokenGroup] [get]

Immutable array-like view of the token's TokenGroups.

is_elevated @ Bool [get]

Whether the token is elevated.

logon_sid @ (Sid | nil) [get]

The group SID marked as the token's logon SID, or nil if there is none.

owner_sid @ Sid [get]

Default owner SID for objects created by the token.

primary_group_sid @ Sid [get]

Primary group SID for objects created by the token.

user_sid @ Sid [get]

SID of the token's user.