The ability to administer and maintain up-to-date user lists and groups is critical to the security of an organization.
Using the GUI
There are a number of different ways to determine which groups a user belongs to. First, you can take the GUI approach:
- Go to “Active Directory Users and Computers”.
- Click on “Users” or the folder that contains the user account.
- Right click on the user account and click “Properties.”
- Click “Member of” tab.
Using the Command Line
Not so fun clicking around, is it? How about some command line options?
- Open up a command promt (cmd.exe or PowerShell)
- Run:
gpresult /V
You’ll get output that looks like this (I’ve truncated it to only include the group info):
You could also run whoami /groups
to get similar info. This command will also list distribution groups and nesting (i.e., if you’re in Group A which is itself a member of Group B, it’ll display Group B).
Not satisfied yet? Try net user [username] domain
as yet another option.
The Bigger Question
As you can see, there are plenty of ways to ascertain Active Directory group membership, manually and programmatically. But the question that almost always goes unanswered is: “What exactly does this group give access to?”
This is an especially tricky question to answer when you have poorly named groups, but even with pristine group names, mistakes are made and you’ll almost always find that groups give unwarranted access to data.
You found your group member, now what?
Varonis can find, model and automatically fix AD group and permission issues. Reach out to make your admin life easier.
What should I do now?
Below are three ways you can continue your journey to reduce data risk at your company:
Schedule a demo with us to see Varonis in action. We'll personalize the session to your org's data security needs and answer any questions.
See a sample of our Data Risk Assessment and learn the risks that could be lingering in your environment. Varonis' DRA is completely free and offers a clear path to automated remediation.
Follow us on LinkedIn, YouTube, and X (Twitter) for bite-sized insights on all things data security, including DSPM, threat detection, AI security, and more.