Loading TOC...

xdmp:role-privileges

xdmp:role-privileges(
   $roleId as xs:unsignedLong
) as xs:unsignedLong*

Summary

Return the IDs of privileges of specified role.

Parameters
roleId A role ID.

Required Privileges

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

Example

xdmp:role-privileges(23498756123)
=> (14958959203, 113247502948)

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