Files
tldr/pages.zh/windows/whoami.md
Yi Liu a7a3ab4ba6 rmdir, shutdown, whoami, winget: update Chinese translation (#15022)
* rmdir, shutdown, whoami, winget: update Chinese translation

* Update pages.zh/windows/winget.md

Co-authored-by: Ein Verne <git@einverne.info>

* Update pages.zh/windows/winget.md

Co-authored-by: Ein Verne <git@einverne.info>

---------

Co-authored-by: Ein Verne <git@einverne.info>
2024-12-10 05:09:53 -08:00

29 lines
484 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# whoami
> 显示当前用户的详细信息。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/whoami>.
- 显示当前用户的用户名:
`whoami`
- 显示当前用户所属的组:
`whoami /groups`
- 显示当前用户的权限:
`whoami /priv`
- 显示当前用户的用户主体名称UPN
`whoami /upn`
- 显示当前用户的登录 ID
`whoami /logonid`
- 显示当前用户的所有信息:
`whoami /all`