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.

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