MarkLogic Server 11.0 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