Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp.externalSecurity

xdmp.externalSecurity(
   external-security as String
) as (Number|String)

Summary

Returns the external security ID for the specified external security name. Unlike the security library module function sec.uidForName, this function can be evaluated against any database and does not need to be evaluated directly against the security database. It returns the external security ID from the security database configured for the database in which the App Server evaluates against.

Parameters
external-security An external security name.

Example

xdmp.externalSecurity("ldap-config");
=> 2392349873545

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