OR SearchFilter


An OR LDAP SearchFilter is a LDAP Filter Choice that is intended to serve as a container that holds zero or more other LDAP Filter Choice.

In order for an entry to match an OR SearchFilter, it must match at least one of the filters contained in that OR SearchFilter.

OR SearchFilter may be represented as a string by enclosing the entire filter in parentheses and placing a pipe symbol ("|") just after the opening parenthesis.

For example, a OR SearchFilter of "(|(uid=john.doe)(uid=jane.doe))" represents an OR SearchFilter that embeds the "(uid=john.doe)" and "(uid=jane.doe)" equality filters.

An OR filter that does not contain any embedded filters is called an Absolute True and False Filters. The string representation for an LDAP false filter is "(|)", and LDAP false filters will never match any target entry.

More Information#

There might be more information for this subject on one of the following: