// NOTE: for this return the REAL set of users.
// since this is (so far) only called by Userbase.getUsers(), it's more efficient to transfer the whole structure in one go, than to subrequest userinfo for each user.
List<String> groupnames = (List<String>)getCollection(null, "allgroups");
Map<String, Group> groups = new HashMap<>();
for (String groupname : groupnames) {
groups.put(groupname, new RemoteGroup(groupname, this));
}
return groups;
}