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"
Powered by MarkLogic Server | Terms of Use | Privacy Policy