nulab / BacklogMigration-Redmine

Migrate your projects from Redmine to Backlog.
MIT License
28 stars 7 forks source link

Does not fetch locked users over default limit #13

Closed shomatan closed 6 years ago

shomatan commented 6 years ago
    /**
     * <p>This method does NOT handle paging for you. You need to provide "offset" and "limit" parameters
     * if you want to control paging.
     * <p>Sample usage:
     <pre>
     final Map<String, String> params = new HashMap<String, String>();
     params.put("name", name);
     final List<User> users = userManager.getUsers(params);
     </pre>
     *
     * @param parameters http parameters: key/value pairs to append to the rest api request
     * @return empty list if no objects found using provided parameters
     * @throws RedmineAuthenticationException invalid or no API access key is used with the server, which
     *                                 requires authorization. Check the constructor arguments.
     * @throws RedmineException
     */
    public List<User> getUsers(Map<String, String> parameters) throws RedmineException {
        return DirectObjectsSearcher.getObjectsListNoPaging(transport, parameters, User.class);
    }