If an entry contains at least one value for a particular attribute, then that entry will match a presence filter targeting the attribute. If an entry does not contain any values for the attribute, then that entry will not match a presence filter targeting the attribute.
The string representation of a presence filter is constructed as follows:
- An open parenthesis
- The attribute description (potentially including attribute options)
- An equal sign
- An asterisk
- A close parenthesis
A presence search filter is a type of LDAP SearchFilter that can be used to identify entries that have at least one value for a specified attribute.
The string representation of an LDAP presence filter is comprised of an opening parenthesis followed by the attribute name, an equal sign, an asterisk, and the closing parenthesis. For example, an equality filter of "aci=*)" will match any entry containing at least one value for the aci attribute.