Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:role-get-default-collections

xdmp:role-get-default-collections(
   $rolename as xs:string
) as xs:string*

Summary

Return the default collections of specified role.

Parameters
rolename A role name.

Example

xdmp:role-get-default-collections("nobody")
=> ("http://marklogic.com/xdmp/triggers")

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.