Slapi_Filter_Test_Simple() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Dealing with Filters
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);
Parameters
This function takes the following parameters:
e
f
Returns
This function returns one of the following values:
0
-1
A positive value (an LDAP error code) if an error occurred.
Description
This function allows you to check if entry
See Also
slapi_filter_test()
slapi_filter_test_ext()
374
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Entry that you wish to test.
Filter to match the entry against.
if the entry matched the filter or if the specified filter is NULL.
if the filter type is unknown or if the entry does not match the filter.
matches filter
.
e
f

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents