mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 17:35:28 +02:00
whoami: add page
This commit is contained in:
parent
6f3d5999b7
commit
e6cc1dfd02
1 changed files with 23 additions and 0 deletions
23
pages/windows/whoami.md
Normal file
23
pages/windows/whoami.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# whoami
|
||||
|
||||
> Display details about the current user.
|
||||
|
||||
- Display the username of the current user:
|
||||
|
||||
`whoami`
|
||||
|
||||
- Display the groups that the current user is a member of:
|
||||
|
||||
`whoami /groups`
|
||||
|
||||
- Display the privileges of the current user:
|
||||
|
||||
`whoami /priv`
|
||||
|
||||
- Display the user principal name (UPN) of the current user:
|
||||
|
||||
`whoami /upn`
|
||||
|
||||
- Display the logon id of the current user:
|
||||
|
||||
`whoami /logonid`
|
Loading…
Add table
Reference in a new issue