Lines Matching refs:result

213         $result = $adldap->user()->info($this->getUserName($user), $fields);
214 if ($result == false) {
220 $info['name'] = $result[0]['displayname'][0];
221 $info['mail'] = $result[0]['mail'][0];
222 $info['uid'] = $result[0]['samaccountname'][0];
223 $info['dn'] = $result[0]['dn'];
225 $info['lastpwd'] = $result[0]['pwdlastset'][0] / 10000000 - 11644473600;
227 $info['expires'] = !($result[0]['useraccountcontrol'][0] & 0x10000); //ADS_UF_DONT_EXPIRE_PASSWD
231 if (isset($result[0][strtolower($field)])) {
232 $info[$field] = $result[0][strtolower($field)][0];
360 $result = '*';
362 $result .= ')(displayname=*' . $adldapUtils->ldapSlashes($filter['name']) . '*';
367 $result .= ')(samAccountName=*' . $adldapUtils->ldapSlashes($filter['user']) . '*';
372 $result .= ')(mail=*' . $adldapUtils->ldapSlashes($filter['mail']) . '*';
375 return $result;
392 $result = $adldap->user()->all();
395 $result = $adldap->user()->all(false, $searchString);
397 $this->users = array_fill_keys($result, false);
413 $result = $this->grpsusers[$this->filterToString($filter)];
421 if (!$result) {
424 return count($result);
436 $result = '';
438 $result .= 'user-' . $filter['user'];
441 $result .= 'name-' . $filter['name'];
444 $result .= 'mail-' . $filter['mail'];
447 $result .= 'grps-' . $filter['grps'];
449 return $result;
505 $result = $adldap->user()->all(false, $this->constructSearchString($filter));
506 if (!$result) return array();
507 $this->users = array_fill_keys($result, false);
512 $result = array();
526 $result[$user] = $info;
550 $result[$user] = $info;
554 return $result;