$this->config = $config;
$this->db = $db;
$this->mapping = $mapping;
- $this->fetchDetails();
}
/**
* @return string
*/
public function getUID() {
+ if (!isset($this->uid)) {
+ $this->fetchDetails();
+ }
return $this->uid;
}
* @return string
*/
public function getDN() {
+ if (!isset($this->dn)) {
+ $this->fetchDetails();
+ }
return $this->dn;
}
* @return string
*/
public function getDisplayName() {
+ if (!isset($this->displayName)) {
+ $this->fetchDetails();
+ }
return $this->displayName;
}
* @return string
*/
public function getEmail() {
+ if (!isset($this->email)) {
+ $this->fetchDetails();
+ }
return $this->email;
}
* @return string
*/
public function getHomePath() {
+ if (!isset($this->homePath)) {
+ $this->fetchDetails();
+ }
return $this->homePath;
}
* @return int
*/
public function getLastLogin() {
+ if (!isset($this->lastLogin)) {
+ $this->fetchDetails();
+ }
return (int)$this->lastLogin;
}
* @return int
*/
public function getDetectedOn() {
+ if (!isset($this->foundDeleted)) {
+ $this->fetchDetails();
+ }
return (int)$this->foundDeleted;
}
* @return bool
*/
public function getHasActiveShares() {
+ if (!isset($this->hasActiveShares)) {
+ $this->fetchDetails();
+ }
return $this->hasActiveShares;
}