MarkLogic 12 EA 1 Product Documentation
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]
Powered by MarkLogic Server | Terms of Use | Privacy Policy