Parameters For Comparison Filters; Parameters For Filter Operations - Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual

Table of Contents

Advertisement

Parameters for Comparison Filters

The parameters listed below are filters that are used to compare a value against an
attribute.
Parameter ID
LDAP_FILTER_AND
LDAP_FILTER_APPROX
LDAP_FILTER_EQUALITY
LDAP_FILTER_EXTENDED
LDAP_FILTER_GE
LDAP_FILTER_LE
LDAP_FILTER_OR
LDAP_FILTER_NOT
LDAP_FILTER_PRESENT
LDAP_FILTER_SUBSTRINGS

Parameters for Filter Operations

The parameters listed below return status information about a filter operation.
These are values that
apply functions may return.
Parameter ID
SLAPI_FILTER_SCAN_NOMORE
SLAPI_FILTER_SCAN_STOP
SLAPI_FILTER_SCAN_CONTINUE
SLAPI_FILTER_SCAN_ERROR
SLAPI_FILTER_UNKNOWN_FILTER_TYPE
Description
AND filter. For example: (&(ou=Accounting)(l=Sunnyvale))
Approximation filter. For example: (ou~=Sales)
Equals filter. For example: (ou=Accounting)
Extensible filter. For example: (o:dn:=Example)
Greater than or equal to filter. For example:
(supportedLDAPVersion>=3)
Less than or equal to filter. For example:
(supportedLDAPVersion<=2)
OR filter. For example: (|(ou=Accounting)(l=Sunnyvale))
NOT filter. For example: (!(l=Sunnyvale))
Presence filter. For example: (mail=*)
Substring filter. For example: (ou=Account*Department)
slapi_filter_apply()
Description
Indicates success in traversing the entire
filter.
Indicates a premature abort.
Indicates to continue scanning.
Indicates an error occurred during the
traverse and the scan aborted.
Error code that
SLAPI_FILTER_SCAN_ERROR can set.
and programmer-defined filter
Chapter 16
Parameter Block Reference
Parameters for Filters
591

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents