Overview[1]#

A presence LDAP Filter Choice is used to determine whether an entry contains a specified attribute.

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

Presence SearchFilter Example#

A presence filter that will match any entry that contains one or more cn values would be "(cn=*)". The presence filter "(objectClass=*)" is often used as a kind of catch-all to match any entry, because every entry must have at least one objectClass value.

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.

More Information#

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

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-7) was last changed on 11-Apr-2016 16:13 by jim