Jeremy is correct whoami is one of the best ways to verify your login information. It has several flags that get the information in different ways.
- WhoAmI has three ways of working:
- Syntax 1:
- WHOAMI [/UPN | /FQDN | /LOGONID]
- Syntax 2:
- WHOAMI { [/USER] [/GROUPS] [/PRIV] } [/FO format] [/NH]
- Syntax 3:
- WHOAMI /ALL [/FO format] [/NH]
- Description:
- This