Windows Vista has a cool new commandline tool called Whoami that shows plenty of information about the currently logged on user, including the account name, a list of group memberships, and much more as well. At any command line, type whoami, and you’ll be shown the name of the loggedon user. Type whoami/all to see a wide variety of information, including a list of groups to which the account is a member, user privileges, and much more. For a list of all parameters, type whoami /?.
Labels: Tips and tricks, Windows Vista