xdmp:role-compartment( $id as xs:unsignedLong ) as xs:string
Return the compartment of the specified role.
xdmp:role-compartment(432987324) => "admin compartment"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.