38.2. slapi_register_role_check()

Allows registering of another function, other than the default, to use in slapi_role_check(). It is strongly recommended that the default should be used.
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
Function for registering.