Display details about the current user.

:: To display the username of the current user:
whoami

:: To display the groups that the current user is a member of:
whoami /groups

:: To display the privileges of the current user:
whoami /priv

:: To display the user principal name (UPN) of the current user:
whoami /upn

:: To display the logon id of the current user:
whoami /logonid