Loading TOC...

MarkLogic 9 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.

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.