Lines Matching defs:Filters
11 use FreeDSx\Ldap\Search\Filters;
46 $filter = Filters::and(
47 Filters::equal('objectClass', 'user'),
48 Filters::or(
49 Filters::equal('sAMAccountName', $samaccountname),
50 Filters::equal('userPrincipalName', $userprincipal)
109 $filter = Filters::and(
110 Filters::equal('objectClass', 'group')
119 $filter->add(Filters::$filtermethod('cn', $match));
156 $filter = Filters::and(Filters::equal('objectClass', 'user'));
158 $filter->add(Filters::$filtermethod('sAMAccountName', $this->simpleUser($match['user'])));
161 $filter->add(Filters::$filtermethod('displayName', $match['name']));
164 $filter->add(Filters::$filtermethod('mail', $match['mail']));
179 $or = Filters::or();
183 $or->add(Filters::equal('primaryGroupID', 513));
187 $or->add(Filters::equal('memberOf', $dn));