Determine the scope of a role.
#include "slapi-plugin.h" int slapi_role_get_scope(Slapi_Entry *role_entry, Slapi_DN ***scope_dn, int *nb_scope);
This function takes the following parameters:
Entry defining the role
Set by the callback to the Distinguished Name of the entry at the base of the scope
Set by the callback to a value such as LDAP_SCOPE_BASE, LDAP_SCOPE_ONELEVEL, or LDAP_SCOPE_SUBTREE
This function triggers a callback to evaluate the scope of a role.
Directory Server does not free or copy the parameters passed to this function.