
sec.externalSecurityClearCache( external-security-name as String ) as null
This function clears the login cache in the named external authorization configuration object.
| Parameters | |
|---|---|
| external-security-name | Name of the external authorization configuration object. | 
http://marklogic.com/xdmp/privileges/external-security-clear-cacheThis function must be executed against the security database.
    // execute this against the security database
    declareUpdate();
    const sec = require('/MarkLogic/security.xqy');
    sec.externalSecurityClearCache("ldapconfig");
    // Clears the login cache in the external authorization configuration object, named "ldapconfig".