Loading TOC...

xdmp.canGrantRoles

xdmp.canGrantRoles(
   $roles as String[]
) as null

Summary

Tests whether a user can grant or revoke a set of roles. Raises an error if the session user can not.

Parameters
$roles A set of role names

Example

xdmp.canGrantRoles(["development", "qa"]);

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy