
xdmp:security-database( [$database-id as xs:unsignedLong] ) as xs:unsignedLong
Returns the database ID of the security database associated with the current database.
| Parameters | |
|---|---|
| database-id | A database ID. Defaults to the current database. |
xdmp:security-database() function as the second
parameter to xdmp:eval-in(). xdmp:security-database() => 8447094497219470018
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.