Command line Active Directory query tool to determine what groups a user is in. As of  V02.02.00 it will also check the membership of computers and groups as well.


See warranty.


Current Version

Version 2.3.0 - June 10, 2006

Modification(s) from previous version

Security Requirements

There are no local security requirements for running MemberOf. Information returned from Active Directory will be dependent on the security configured for the directory. Generally you will get most of the information as a normal user.


C++. Compiled with Borland Builder 6.0

Source Code Availability



I needed a way to enumerate nested group memberships for a user and this tool was the result. If you don't pass it any parameters, it will dump the groups that it can find the current user has. You can also specify a specific user. It works by enumerating the memberOf attribute for the user and chasing into any nesting found. It will only find groups that the user is in if they are universal or domain local or global in the same domain that the user is in.


You do not have to supply the email address. I would like you to fill that in though so that I have an idea on how popular a tool really is. If I see 1000 downloads with 900 different email addresses I know it is more widespread than one that has 1000 downloads and 200 different email addresses because the same person needed to keep downloading it for some reason.

Email Address: Optional
Sponsored Link:

Version History

As seen in


    Download and type MemberOf /?

See current usage screens