WHOAMI.exe – Windows CMD Command

Display user, group and privileges for the current user.

Examples

Display the domain and user name of the current user:
whoami

Display the user groups to which the current user belongs:
whoami /groups

Display all of the information in the current access token:
whoami /all

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *