whoami
token::whoami
displays the current token.
It has the following argument:
/full
: Display more information about groups and privileges. The argument can actually be anything (e.g./bar
).
Display current token:
For more information about the output, see
token::list
.By default, there is no thread token (impersonation token) and only a process token (prmary token).
The /full
parameter can be used to display more information about groups (G
) and privileges (P
):
Displayed information:
*
: Token TypeProcess Token: Primary Token
Thread Token: Impersonation Token
G
: Group InformationList of assigned groups to the token (source: kuhl_m_token.c)
M
: MandatoryD
: Enabled by DefaultE
: Group EnabledO
: Group OwnerU
: Group Use for Deny OnlyL
: Group Logon IDR
: Group Resource
P
: Privilege InformationList of privileges for this token (source: kuhl_m_token.c)
D
: Privilege Enabled by DefaultE
: Privilege EnabledR
: Privilege RemovedA
: Privilege used for Access
Last updated