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.
http://marklogic.com/xdmp/privileges/external-security-set-ldap-start-tls
This function must be executed against the security database.
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.