Loading TOC...

sec:external-security-set-name

sec:external-security-set-name(
   $external-security-name as xs:string,
   $new-external-security-name as xs:string
) as empty-sequence()

Summary

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.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-name

Example


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