Пример #1
0
 /**
  * @brief Get a list of all users
  * @returns array with all uids
  *
  * Get a list of all users.
  */
 public function getUsers()
 {
     if (is_null($this->_users)) {
         $ldap_users = OC_LDAP::fetchListOfUsers($this->ldapUserFilter, array(OC_LDAP::conf('ldapUserDisplayName'), 'dn'));
         $this->_users = OC_LDAP::ownCloudUserNames($ldap_users);
     }
     return $this->_users;
 }