
sec.securityNamespace() as String
Returns a string corresponding to the uri of the security namespace.
This function must be executed against the security database.
// Execute this against the security database.
declareUpdate();
const sec = require('/MarkLogic/security');
sec.securityNamespace();
// ==> http://marklogic.com/xdmp/security
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.