MarkLogic 12 EA 1 Product Documentation
sec.externalSecuritySetLdapNegativeCacheTimeout

sec.externalSecuritySetLdapNegativeCacheTimeout(
   external-security-name as String,
   ldap-negative-cache-timeout as Number
) as null

Summary

This function updates the ldap-negative-cache-timeout setting in the external security configuration.

Parameters
external-security-name The name of an external-security configuration.
ldap-negative-cache-timeout Negative cache timeout in seconds.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-ldap-cache-timeout

Usage Notes

This function must be executed against the security database.

Example


declareUpdate();
const sec = require('/MarkLogic/security');

sec.externalSecuritySetLdapNegativeCacheTimeout('ldapconfig', 20);
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy