Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 318

Table of Contents

Advertisement

Functions for Dealing with Filters
Syntax
#include "slapi-plugin.h"
int slapi_filter_test( Slapi_PBlock *pb,
Slapi_Entry *e, Slapi_Filter *f, int verify_access );
Parameters
This function takes the following parameters:
pb
e
f
verify_access
Returns
This function returns one of the following values:
0 if the entry matched the filter or if the specified filter is NULL.
-1 if the filter type is unknown.
A positive value (an LDAP error code) if an error occurred.
See Also
slapi_filter_test_simple()
slapi_filter_test_ext()
slapi_filter_test_ext()
Determines if an entry matches a given filter.
Syntax
#include "slapi-plugin.h"
int slapi_filter_test_ext( Slapi_PBlock *pb, Slapi_Entry *e,
Slapi_Filter *f,int verify_access, int only_test_access)
318
Netscape Directory Server Plug-In Programmer's Guide • January 2002
Parameter block.
Entry that you want to test.
Filter that you want to test the entry against.
If 1, verifies that the current user has access rights to search the
specified entry. If 0, bypasses any access control.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.01

Table of Contents