Functions For Managing Roles - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Functions for Managing Roles

slapi_rdn_set_rdn()
Functions for Managing Roles
This section contains reference information on routines that help you deal with
roles.
Table 14-24 Routines for Roles
Function
slapi_role_check()
slapi_register_role_check()
slapi_role_check()
Checks if the entry pointed to by
role_dn
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
404
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Description
Checks if the entry pointed to by entry_to_check contains the role
indicated by role_dn.
Allows registering of another function, other than the default, to use in
slapi_role_check().
.
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.
contains the role indicated by
entry_to_check

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents