added support to return a list of group memberships