MarkLogic Server 11.0 Product Documentation
xdmp.getCurrentRoles

xdmp.getCurrentRoles() as Sequence

Summary

Returns all the current roles, both assigned and inherited by the current user and any received from amps.

Example

xdmp.getCurrentRoles();
=> (2349872340, 432987324)
Powered by MarkLogic Server | Terms of Use | Privacy Policy