xdmp:role-get-default-permissions( $rolename as xs:string, [$output-kind as xs:string] ) as item()*
Return the default permissions of specified role.
xdmp:role-get-default-permissions("nobody") => <sec:permission xmlns:sec="http://marklogic.com/xdmp/security"> <sec:capability>read</sec:capability> <sec:role-id>8487823278258687528</sec:role-id> </sec:permission>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.