Tag Archives: dsquery

Determine the groups you are a member of in active directory

Issue these commands to determine what groups you are a member of in an active directory environment. These will only be groups in active directory.
First determine your FQDN.
dsquery user -name username
Then use that to get group membership info.
dsget user outputfromabove -memberof -expand

You must have the adminpak from Microsoft installed on your computer, but you don’t need to be a Domain Administrator to do this.

If you have the adminpak, you can also use the Active Directory Users and Computers snap-in to locate your user and check it that way.