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)
Powered by MarkLogic Server | Terms of Use | Privacy Policy