Pages

Wednesday, November 28, 2012

Determine group membership quickly with whoami

When you're in the heat of the troubleshooting battle, you need a quick way to determine exactly the groups to which a user belongs. This is especially true if you're trying to troubleshoot problems with insufficient permissions. Yes, you can find that information in Active Directory Users And Computers—but what if you're currently working at a user's computer? In this scenario, Active Directory Users And Computers isn't available to you. The solution then is to use the whoami command line utility. To do so, open a Command Prompt window. To view a list of all groups to which the user belongs, enter the command whoami /groups. If you want to view all available information for a user, enter whoami /all.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.