code: public HashIntMap<User> loadUsersFromId (int[] userIds)
          throws PersistenceException
      {
          HashIntMap<User> data = new HashIntMap<User>();
          if (userIds.length > 0) {
              String query = "where userId in (" + genIdString(userIds) + ")";
              for (User user : loadAll(_utable, query)) {
                  user.setDirtyMask(_utable.getFieldMask());
                  data.put(user.userId, user);
              }
          }
          return data;
      }
docs: Looks up users by userid
  
  @return the users whom have a user id in the userIds array.