MarkLogic Server 11.0 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'.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy