Need to know what groups you’re a member of in Active Directory, but don’t have access to AD Users and Groups management snap-in? Try this command. It may help to run cmd.exe as Administrator if that privilege is available to you, but may not be necessary.
The output at the bottom will be something like this, along with any additional Global group names you’re a member of.
An alternative is whoami /groups which provides an output similar to this…
Note: whoami also works on Linux/UNIX systems.