LPS-46860 no need to fetch the each entity in order to populate the list...

... of primary keys. This is very slow if a large number of organizations or userGroups exists.