updateUser() 공개 메소드

Updates a set of authentication credentials.
public updateUser ( string $oldID, string $newID, array $credentials )
$oldID string The old userId.
$newID string The new userId.
$credentials array The new credentials
예제 #1
0
파일: Application.php 프로젝트: horde/horde
 /**
  * Update a set of authentication credentials.
  *
  * @param string $oldID       The old user ID.
  * @param string $newID       The new user ID.
  * @param array $credentials  The new credentials
  *
  * @throws Horde_Auth_Exception
  */
 public function updateUser($oldID, $newID, $credentials)
 {
     if ($this->_base) {
         $this->_base->updateUser($oldID, $newID, $credentials);
         return;
     }
     if ($this->hasCapability('update')) {
         $GLOBALS['registry']->callAppMethod($this->_app, 'authUpdateUser', array('args' => array($oldID, $newID, $credentials)));
     } else {
         parent::updateUser($oldID, $newID, $credentials);
     }
 }
예제 #2
0
 /**
  */
 public function updateUser($oldID, $newID, $credentials)
 {
     return $this->_base->updateUser($oldID, $newID, $credentials);
 }