xdmp.roleGetDefaultPermissions(
rolename as String,
[output-kind as String]
) as Object[]
Summary
Return the default permissions of specified role.
Parameters
rolename
A role name.
output-kind
The output kind. It can be either "objects" or "elements".
With "objects", the built-in returns an array of objects.
With "elements", the built-in returns an array of XML element nodes.
The default is "objects".
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.