xdmp:get-current-roles

xdmp:get-current-roles() as xs:unsignedLong*

Summary

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

Example

xdmp:get-current-roles()
=> (2349872340, 432987324)
Powered by MarkLogic Server | Terms of Use | Privacy Policy