Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sec.externalSecuritySetName

sec.externalSecuritySetName(
   external-security-name as String,
   new-external-security-name as String
) as null

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


declareUpdate();
const sec = require('/MarkLogic/security');

sec.externalSecuritySetName('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.