Lines Matching defs:fields
79 // Check for compulsory fields
214 * @param array $fields Array of parameters to query
218 public function info($username, $fields = NULL, $isGUID = false)
234 if ($fields === NULL) {
235 $fields = array("samaccountname","mail","memberof","department","displayname","telephonenumber","primarygroupid","objectsid");
237 if (!in_array("objectsid", $fields)) {
238 $fields[] = "objectsid";
240 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
245 if (in_array("memberof", $fields)) {
269 * @param array $fields Array of parameters to query
273 public function infoCollection($username, $fields = NULL, $isGUID = false)
278 $info = $this->info($username, $fields, $isGUID);
558 $fields = array("samaccountname","displayname");
559 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
590 $fields = array("objectGUID");
591 $sr = @ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
619 $fields = array("samaccountname","displayname");
620 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);