MarkLogic 12 EA 1 Product Documentation
xdmp.userGetDefaultCollections

xdmp.userGetDefaultCollections(
   username as String
) as Sequence

Summary

Return the default collections of specified user.

Parameters
username A user name.

Example

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