Loading TOC...

xdmp.rolePrivileges

xdmp.rolePrivileges(
   $roleId as (Number|String)
) as Sequence

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.rolePrivileges(23498756123)
=> [14958959203, 113247502948]

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