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