code: protected void importUserFromFile() {
  
          CmsImportUserThread thread = new CmsImportUserThread(
              m_cms,
              m_ou,
              m_userImportList,
              getGroupsList(m_importGroups, true),
              getRolesList(m_importRoles, true),
              m_sendMail.getValue().booleanValue());
          thread.start();
          CmsShowReportDialog dialog = new CmsShowReportDialog(thread, new Runnable() {
  
              public void run() {
  
                  m_window.close();
              }
          });
          m_window.setContent(dialog);
  
      }
docs: Import user from file.