Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 320

Table of Contents

Advertisement

Functions for Dealing with Filters
Parameters
This function takes the following parameters:
pb
e
f
verify_access
only_test_access
Returns
This function returns one of the following values:
0 if the entry matched the filter, or if the specified filter is
-1 if the filter type is unknown, or if the entry does not match the filter.
A positive value (an LDAP error code) if an error occurred, or if the current
user does not have access rights to search the specified entry.
Description
This function allows you to determine if an entry matches a given filter, and/or
that the current user has the permission to access the entry.
See Also
slapi_filter_test_simple()
slapi_filter_test()
slapi_filter_test_simple()
Determines if an entry matches a filter.
Syntax
#include "slapi-plugin.h"
int slapi_filter_test_simple( Slapi_Entry *e, Slapi_Filter *f);
320
Netscape Directory Server Plug-In Programmer's Guide • May 2002
pblock from which the user is extracted.
The entry on which filter matching must be verified.
The filter used for filter matching.
0 when access checking is not to be done.
1 when access checking must be done.
0 when filter matching must be done.
1 when filter matching must not be done.
.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents