Loading TOC...

sec.removeExternalSecurity

sec.removeExternalSecurity(
   external-security-name as String
) as null

Summary

This function deletes the named external authentication configuration object.

Parameters
external-security-name The name of the external authentication configuration object to be removed.

Example


// 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 iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.