Lines Matching defs:username
57 * @param string $username The username of the user to add the Exchange account to
61 * @param string $mailNickname The mail nick name. If mail nickname is blank, the username will be used
64 * @param bool $isGUID Is the username passed a GUID or a samAccountName
67 public function createMailbox($username, $storageGroup, $emailAddress, $mailNickname=NULL, $useDefaults=TRUE, $baseDn=NULL, $isGUID=false)
69 if ($username === NULL){ return "Missing compulsory field [username]"; }
81 $mailNickname = $username;
91 $result = $this->adldap->user()->modify($username, $attributes, $isGUID);
103 * @param string $username The username of the user to add the X400 to to
110 * @param bool $isGUID Is the username passed a GUID or a samAccountName
113 public function addX400($username, $country, $admd, $pdmd, $org, $surname, $givenName, $isGUID=false)
115 if ($username === NULL){ return "Missing compulsory field [username]"; }
120 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID);
146 * @param string $username The username of the user to add the Exchange account to
149 * @param bool $isGUID Is the username passed a GUID or a samAccountName
152 public function addAddress($username, $emailAddress, $default = FALSE, $isGUID = false)
154 if ($username === NULL) { return "Missing compulsory field [username]"; }
163 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID);
215 * @param string $username The username of the user to add the Exchange account to
217 * @param bool $isGUID Is the username passed a GUID or a samAccountName
220 public function deleteAddress($username, $emailAddress, $isGUID=false)
222 if ($username === NULL) { return "Missing compulsory field [username]"; }
226 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID);
255 * @param string $username The username of the user to add the Exchange account to
257 * @param bool $isGUID Is the username passed a GUID or a samAccountName
260 public function primaryAddress($username, $emailAddress, $isGUID = false)
262 if ($username === NULL) { return "Missing compulsory field [username]"; }
266 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID);