MarkLogic 12 EA 1 Product Documentation
sec.securityCollection

sec.securityCollection() as String

Summary

Returns a string corresponding to the uri for the Security collection.

Usage Notes

This function must be executed against the security database.

Example


// Execute this on the security database.
declareUpdate();
const sec = require('/MarkLogic/security');

sec.securityCollection();

// ==> http://marklogic.com/xdmp/security
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy