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. |
(: 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". :)