Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sec:external-security-set-ldap-negative-cache-timeout

sec:external-security-set-ldap-negative-cache-timeout(
   $external-security-name as xs:string,
   $ldap-negative-cache-timeout as xs:unsignedInt
) as empty-sequence()

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



xquery version "1.0-ml";

import module namespace sec = "http://marklogic.com/xdmp/security"
      at "/MarkLogic/security.xqy";

sec:external-security-set-ldap-negative-cache-timeout("My-External-Security", 20)

    

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