getAuth() public method

Return the id of the user currently authenticated.
public getAuth ( ) : string
return string The id of the user that opened the connection.
Esempio n. 1
0
File: Base.php Progetto: horde/horde
 /**
  * Retrieve the all access rights on a folder.
  *
  * @param string $folder The folder to retrieve the ACL for.
  *
  * @return string The folder rights.
  */
 public function getAllAcl($folder)
 {
     if (!$this->hasAclSupport()) {
         return array($this->_driver->getAuth() => 'lrid');
     }
     return $this->_driver->getAcl($folder);
 }
Esempio n. 2
0
 /**
  * Return the id of the user currently authenticated.
  *
  * @return string The id of the user that opened the connection.
  */
 public function getAuth()
 {
     return $this->_driver->getAuth();
 }