added support to return a list of group memberships

Do you need to capture the user's password?