20

This seems like it would be a simple question, but my Google skills have failed me.

When logged into a domain (as a domain user without any admin rights), how can I determine what groups my user account belongs to?

Andrzej Doyle
  • 880
  • 2
  • 8
  • 14

3 Answers3

21

You can also do it using the following:

gpresult

which will also show any GPO objects applied

Mike1980
  • 650
  • 3
  • 7
12

Ah - I managed to find a way to do this, from a command prompt:

net user {username} /domain

Which includes in its output a list of "global group memberships" corresponding to domain groups.

Andrzej Doyle
  • 880
  • 2
  • 8
  • 14
0

Here's what I use (since I have Gnu32 grep):

gpresult /R | grep "following security groups" -A5000

This will perform a "list group policy" command for the current user, then pipe the output through grep so that only the information about group membership is written out.

user309526
  • 41
  • 3