Loading TOC...

xdmp.roleDescription

xdmp.roleDescription(
   $id as (Number|String)
) as String

Summary

Return the description of the specified role.

Parameters
$id A role ID.

Example

xdmp.roleDescription(432987324)
=> "admin role"

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