Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_register_role_get_scope()

Register a callback to determine the scope of a role.

Syntax

#include "slapi-plugin.h"
void slapi_register_role_get_scope(
    roles_get_scope_fn_type get_scope_fn);

Parameters

This function takes the following parameters:

get_scope_fn

Callback to determine the scope of a role

Description

This function registers the callback that evaluates the scope of a role. Register the callback as part of the plug-in initialization function.

See Also

roles_get_scope_fn_type

slapi_role_get_scope()