
sec.removeExternalSecurity( external-security-name as String ) as null
This function deletes the named external authentication configuration object.
| Parameters | |
|---|---|
| external-security-name | The name of the external authentication configuration object to be removed. |
// Execute this against the security database.
declareUpdate();
const sec = require('/MarkLogic/security');
sec.removeExternalSecurity('ldapconfig');
// Removes the external authorization configuration object, named 'ldapconfig'.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.