getAuth() 공개 메소드

Return the id of the user currently authenticated.
public getAuth ( ) : string
리턴 string The id of the user that opened the connection.
예제 #1
0
파일: Base.php 프로젝트: 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);
 }
예제 #2
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * 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();
 }