Loading TOC...

MarkLogic 10 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
   

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