v1.2.11 - add `getGroupsForUser` function