Syntax
#include "slapi-plugin.h"
int slapi_role_check(Slapi_Entry *entry_to_check,
Slapi_DN *role_dn,int *present);
Parameters
This function takes the following parameters:
entry_to_check
role_dn
present
Returns
This function returns one of the following values:
•
0
•
A non-zero value (error condition) if the presence of the role is undetermined.
slapi_register_role_check()
Allows registering of another function, other than the default, to use in
slapi_role_check()
Syntax
#include "slapi-plugin.h"
void slapi_register_role_check(roles_check_fn_type check_fn);
Parameters
This function takes the following parameter:
check_fn
Functions for Managing DNs
This section contains reference information on DN routines.
The entry in which the presence of a role is to be checked.
The DN of the role for which to check.
Pointer to an integer where the result, present or not present,
will be placed.
for success; if
role_dn
. It is strongly recommended that the default should be used.
Function for registering.
is present in
entry_to_check
Functions for Managing DNs
,
is set to
present
Chapter 15
Function Reference
.
0
461
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers