Lines Matching defs:distinguishedName
106 public function groups($distinguishedName, $recursive = NULL)
108 if ($distinguishedName === NULL) { return false; }
113 $info = @$this->info($distinguishedName, array("memberof", "primarygroupid"));
133 public function info($distinguishedName, $fields = NULL)
135 if ($distinguishedName === NULL) { return false; }
138 $filter = "distinguishedName=" . $distinguishedName;
162 * @param string $distinguishedName The full DN of a contact
166 public function infoCollection($distinguishedName, $fields = NULL)
168 if ($distinguishedName === NULL) { return false; }
171 $info = $this->info($distinguishedName, $fields);
209 * @param string $distinguishedName The contact to query
213 public function modify($distinguishedName, $attributes) {
214 if ($distinguishedName === NULL) { return "Missing compulsory field [distinguishedname]"; }
225 $result = ldap_modify($this->adldap->getLdapConnection(), $distinguishedName, $mod);
236 * @param string $distinguishedName The contact dn to delete (please be careful here!)
239 public function delete($distinguishedName)
241 $result = $this->folder()->delete($distinguishedName);
290 public function contactMailEnable($distinguishedName, $emailAddress, $mailNickname = NULL){
291 return $this->adldap->exchange()->contactMailEnable($distinguishedName, $emailAddress, $mailNickname);