Files
tldr/pages.fr/windows/whoami.md
2021-03-24 12:55:41 -04:00

25 lines
561 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# whoami
> Affiche des détails sur l'utilisateur courant.
> Plus d'informations : <https://docs.microsoft.com/windows-server/administration/windows-commands/whoami>.
- Affiche le nom de l'utilisatuer courant :
`whoami`
- Affiche les groupes pour lesquels l'utilisateur courant est un membre :
`whoami /groups`
- Affiche les droits de l'utilisateur courant :
`whoami /priv`
- Affiche le nom principal d'utilisateur (UPN) de l'utilisateur courant :
`whoami /upn`
- Affiche l'identifiant de connexion de l'utilisateur courant :
`whoami /logonid`