Use these basic and Boolean operators with search filters in the group sections of the inserverUR.ini file with the User Replication Agent. Provide combinations of filters in conjunction with a Boolean operator in the format: (Boolean_operator (filter1) (filter2) (filter3)).
The following table contains the basic operators.
| Operator | Description | Example |
|---|---|---|
| = | Returns entries whose attribute is equal to the value. |
(cn=Michael Thomas) finds the entry "cn=Michael Thomas" |
| >= | Returns entries whose attribute is greater than or equal to the value. |
(cn >= Darla Parker) finds all entries from "cn=Darla Parker" to "cn=z..." |
| <= | Returns entries whose attribute is less than or equal to the value. |
(cn <= Tammy Kite) finds all entries from "cn=a..." to "cn=Tammy Kite" |
| =* | Returns entries that have a value set for that attribute. |
(cn =*) finds all entries that have the cn attribute. |
| ~= | Returns entries whose attribute value approximately matches the specified value. Typically, this algorithm matches words that sound alike. |
(sn ~= smith) finds the entry "sn=smith" |
The following table contains the Boolean operators.
| Operator | Description |
|---|---|
| & (equates to AND) | Returns entries matching all specified filter criteria. |
| | (equates to OR) | Returns entries matching one or more of the filter criteria. |
| ! (equates to NOT) | Returns entries for which the filter is not true. You can only apply this operator to a single filter. You can use: (!(filter) but not: (!(filter1)(filter2)). |