
sec:external-security-set-name( $external-security-name as xs:string, $new-external-security-name as xs:string ) as empty-sequence()
This function sets the name of the external authorization configuration object.
| Parameters | |
|---|---|
| external-security-name | Existing name of the external authorization configuration object. |
| new-external-security-name | New name of the external authorization configuration object. |
http://marklogic.com/xdmp/privileges/external-security-set-name
(: 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:external-security-set-name("ldapconfig", "newconfig")
(: Changes the name of the external authorization configuration object
from "ldapconfig" to "newconfig". :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.