May 2008
Intermediate to advanced
1408 pages
44h 25m
English
Windows Vista includes a new command-line utility, Whoami (Who Am I?). You can use Whoami to find out the name of the account that’s currently logged on, its SID, the names of the security groups of which it’s a member, and its privileges. To use Whoami, open a Command Prompt window. (You don’t need elevated privileges.)
Then, to learn the name of the logged-on user, type whoami. (This is particularly useful if you’re logged on as a standard user, but running an elevated Command Prompt window.) If you’re curious about your SID, type whoami /user. To see a list of your account’s group memberships, type whoami /groups /fo list. To learn which privileges are enabled for the logged-on account, type whoami ...
Read now
Unlock full access