Loading TOC...

xdmp.privilegeName

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

Summary

Return the name of the specified privilege.

Parameters
$id A privilege ID.

Example

xdmp.privilegeName(432987324)
=> "grant-all-roles"

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