
sec.externalSecuritySetLdapStartTls( external-security-name as String, [ldap-start-tls as Boolean?] ) as null
This function updates the ldap-start-tls
setting in the external security configuration.
declareUpdate();
const sec = require('/MarkLogic/security');
sec.externalSecuritySetLdapStartTls('ldapconfig', true);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.