code: @Restricted(NoExternalUse.class)
      public User createAccountByAdmin(StaplerRequest req, StaplerResponse rsp, String addUserView, String successView) throws IOException, ServletException {
          checkPermission(Jenkins.ADMINISTER);
          User u = createAccount(req, rsp, false, addUserView);
          if (u != null && successView != null) {
              rsp.sendRedirect(successView);
          }
          return u;
      }
docs: Creates a user account. Requires {@link Jenkins#ADMINISTER}