code: public List<GitlabProject> getProjectsViaSudo(GitlabUser user) throws IOException {
          Query query = new Query()
                  .appendIf(PARAM_SUDO, user.getId());
          query.mergeWith(new Pagination().withPerPage(Pagination.MAX_ITEMS_PER_PAGE).asQuery());
          String tailUrl = GitlabProject.URL + query.toString();
          return retrieve().getAll(tailUrl, GitlabProject[].class);
      }
docs: Get a list of projects accessible by the authenticated user.
  
  @return A list of gitlab projects
  @throws IOException on gitlab api call error