User group membership in AD

Hi
My first time in this forum as well as being very new to C++.

I'm using VC++ 2010 and want to list a user's group membership in Active Directory. In Python I've used:

groups = win32net.NetUserGetGroups(pdc, user)

However, I've absolutely no idea what to do when it comes to C++. Can someone give me a good reference / example for working with AD please? Ideally, on this topic.

Thanks
Topic archived. No new replies allowed.