tldr/pages.fr/windows/whoami.md

25 lines
561 B
Markdown
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

# 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`