MarkLogic Server 11.0 Product Documentation
xdmp:roles

xdmp:roles() as xs:unsignedLong*

Summary

Returns the IDs of all roles in the system.

Example

xdmp:roles()
=> (2392349873545, 325667234556)
Powered by MarkLogic Server | Terms of Use | Privacy Policy