removeUser() 공개 메소드

Deletes a set of authentication credentials.
public removeUser ( string $userId )
$userId string The userId to delete.
예제 #1
0
파일: Application.php 프로젝트: horde/horde
 /**
  * Delete a set of authentication credentials.
  *
  * @param string $userId  The user ID to delete.
  *
  * @throws Horde_Auth_Exception
  */
 public function removeUser($userId)
 {
     if ($this->_base) {
         $this->_base->removeUser($userId);
     } else {
         if ($this->hasCapability('remove')) {
             $GLOBALS['registry']->callAppMethod($this->_app, 'authRemoveUser', array('args' => array($userId)));
         } else {
             parent::removeUser($userId);
         }
     }
 }
예제 #2
0
 /**
  */
 public function removeUser($userId)
 {
     return $this->_base->removeUser($userId);
 }