
sec:remove-external-security( $external-security-name as xs:string ) as empty-sequence()
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 :)
  xquery version "1.0-ml"; 
 
  import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";
 
  sec:remove-external-security("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.