xdmp.roleGetDefaultPermissions( rolename as String, [output-kind as String] ) as Object[]
Return the default permissions of specified role.
xdmp.roleGetDefaultPermissions("nobody") => [ { "capability": "read", "roleId": "12371806025301146444" }, { "capability": "read", "roleId": "8487823278258687528" } ]
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.