MarkLogic 12 EA 1 Product Documentation
xdmp:role-compartment

xdmp:role-compartment(
   $id as xs:unsignedLong
) as xs:string

Summary

Return the compartment of the specified role.

Parameters
id A role ID.

Example

xdmp:role-compartment(432987324)
=> "admin compartment"
Powered by MarkLogic Server | Terms of Use | Privacy Policy