xdmp.roleGetDefaultCollections

xdmp.roleGetDefaultCollections(
   rolename as String
) as Sequence

Summary

Return the default collections of specified role.

Parameters
rolename A role name.

Example

xdmp.roleGetDefaultCollections("nobody")
=> ["http://marklogic.com/xdmp/triggers"]
Powered by MarkLogic Server | Terms of Use | Privacy Policy