Loading TOC...

xdmp.securityDatabase

xdmp.securityDatabase(
   [$database-id as String]
) as String

Summary

Returns the database ID of the security database associated with the current database.

Parameters
$database-id A database ID. Defaults to the current database.

Usage Notes

To run queries against the security database, you can specify the xdmp:security-database() function as the second parameter to xdmp:eval-in().

Example

xdmp.securityDatabase();
=> 8447094497219470018

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

Comments