Exemplo n.º 1
0
 /**
  * reads the user details
  */
 protected function fetchDetails()
 {
     $properties = array('displayName' => 'user_ldap', 'uid' => 'user_ldap', 'homePath' => 'user_ldap', 'email' => 'settings', 'lastLogin' => 'login');
     foreach ($properties as $property => $app) {
         $this->{$property} = $this->preferences->getValue($this->ocName, $app, $property, '');
     }
     $dn = $this->access->ocname2dn($this->ocName, true);
     $this->dn = $dn !== false ? $dn : '';
     $this->determineShares();
 }