Gets an IADsMembers pointer on a collection of ADSI group objects representing the groups to which this user belongs.
HRESULT IADsUser::Groups(
IADsMembers ** ppGroups //Interface on a members object
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.
Header: Declared in iads.h.