MarkLogic 9 Product Documentation
xdmp.roleCompartment

xdmp.roleCompartment(
   id as (Number|String)
) as String

Summary

Return the compartment of the specified role.

Parameters
id A role ID.

Example

xdmp.roleCompartment(432987324)
=> "admin compartment"
Powered by MarkLogic Server | Terms of Use | Privacy Policy