Lines Matching defs:fields
67 // Check for compulsory fields
130 * @param array $fields Attributes to be returned
133 public function info($distinguishedName, $fields = NULL)
139 if ($fields === NULL) {
140 $fields = array("distinguishedname", "mail", "memberof", "department", "displayname", "telephonenumber", "primarygroupid", "objectsid");
142 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
163 * @param array $fields Array of parameters to query
166 public function infoCollection($distinguishedName, $fields = NULL)
171 $info = $this->info($distinguishedName, $fields);
261 $fields = array("displayname","distinguishedname");
262 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);