public function getUserList()
 {
     /**
      * @var $ilUser ilObjUser
      */
     global $ilUser;
     require_once 'Services/User/classes/class.ilUserAutoComplete.php';
     $auto = new ilUserAutoComplete();
     $auto->setUser($ilUser);
     $auto->setPrivacyMode(ilUserAutoComplete::PRIVACY_MODE_RESPECT_USER_SETTING);
     if ($ilUser->isAnonymous()) {
         $auto->setSearchType(ilUserAutoComplete::SEARCH_TYPE_EQUALS);
     }
     $auto->setSearchFields(array('firstname', 'lastname'));
     $auto->setResultField('login');
     $auto->enableFieldSearchableCheck(true);
     echo $auto->getList($_REQUEST['q']);
     exit;
 }