Loading TOC...

MarkLogic 12 EA 1 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.