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,038 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

Be the first to ask a question.