Get User Group Membership in AD (VBGetUserGroupInAD)
This sample application demonstrates how to perform a search on the user’s group membership in Active Directory. This demonstrates the recursive looping method. Also it shows how to get the Object SID for the group.