How can I see my user roles on the Windows machine I'm logged into?

Is there a way (in Windows) to delineate the roles my login has on the box I'm logged in to?

The machine is joined to a domain, if that makes a difference.


If you are ready to do some coding, you can use following commands to get the information you want. When executed separately these commands give the information in bits and pieces.

C:\>net localgroup

This will give list of all local groups. Iterate on this list and execute

C:\>net localgroup <groupName>

This will give list of all members (users and groups which are added to this local group).

To get the list of all domain groups, you are part of, you can execute

C:\>net user <username> /domain

Look for Global Group memberships in the output. PS: /domain is a keyword. Don't replace it with your domain name.

Now if your user name or the Global Groups are part of the members list of any local group (output of second command), then it is the role assigned to you.

Unfortunately, these commands output more data / text than what you want. So you will need to write some code (in your favorite language or even .bat file) to parse and combine the output of above commands.

It will be worth writing a program if you repeatedly need to find roles of a user.


You can use LG from joeware to do more than you would be able to do with "net localgroup", which only lists the groups that are on your machine. This should give you the direction you need.

It's a simple command line app: you can download it here link

This command will list the members of all the localgroups...

lg \\localhost -lu

You may want to look into powershell to write something that just pulls your groups in a more specific fashion.