/** * Add a set of authentication credentials. * * @param string $userId The user ID to add. * @param array $credentials The credentials to use. * * @throws Horde_Auth_Exception */ public function addUser($userId, $credentials) { if ($this->_base) { $this->_base->addUser($userId, $credentials); return; } if ($this->hasCapability('add')) { $GLOBALS['registry']->callAppMethod($this->_app, 'authAddUser', array('args' => array($userId, $credentials))); } else { parent::addUser($userId, $credentials); } }
/** */ public function addUser($userId, $credentials) { return $this->_base->addUser($GLOBALS['registry']->convertUsername($userId, true), $credentials); }