Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 366

Hello, I am your AI assistant. How can I help you?
Table of Contents

Advertisement

Functions for Dealing with Filters
Syntax
#include "slapi-plugin.h"
int slapi_vattr_filter_test( Slapi_PBlock *pb, Slapi_Entry *e,
struct 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
-1
An LDAP error code (an integer greater than zero) if an error occurs.
Description
This function supports the case where the filter specifies virtual attributes.
Performance for a real-attribute-only filter is the same as that for
slapi_filter_test()
See Also
slapi_filter_test()
366
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Parameter block containing information about the filter.
Entry against which the filter is to be tested.
Filter against which the entry is to be tested.
Access control:
• 0 if access checking is not to be done; that is, bypass any
access control.
• 1 if access checking must be done; that is, verify that the
current user has access rights to search the specified entry.
if the filter matched.
if the filter did not match.
.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 6.1

Table of Contents