Loading TOC...

xdmp.roleRoles

xdmp.roleRoles(
   $name as String
) as Sequence

Summary

Returns the set of all roles inherited by a given role, including roles directly assigned to the role and roles inherited from other roles.

Parameters
$name The role name.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-role-roles

Example

xdmp.roleRoles("vp");
=> [2349872340, 432987324]

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments