listGroupsForEntity

Returns all the groups to which an entity belongs.