Vaibhav Singh

Blog - vaibhavsingh.com

Which active directory groups am I part of?

Several times I’ve had a need to figure out which AD groups I’m part of compared to somebody else. Typically somebody whose access is broken. Most often than not, a new joiner.

There are several ways an end user without any elevated privileges can find this information.

To find yours in a directory environment, execute one of the followings.

PS >> Get-ADPrincipalGroupMembership <username> | select name
CMD >> whoami /groups
CMD >> gpresult /r
CMD >> net user /domain <your-username>
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top