How to find the local group membership of a user in Windows

This sample lists the group membership of the user, similar to command "whoami" does. This sample can also list the group membership for the user when machine is not connected, it gets the details from cache.

C++ (42.5 KB)
5 Star
1,040 times
Add to favorites
E-mail Twitter Digg Facebook
Click an item in the panel on the left to view the contents here.