Loading TOC...

xdmp:role-roles

xdmp:role-roles(
   $name as xs:string
) as xs:unsignedLong*

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:role-roles("vp")
=> (2349872340, 432987324)

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