MarkLogic 12 EA 1 Product Documentation
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