sec.externalSecuritySetName( external-security-name as String, new-external-security-name as String ) as null
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. |
http://marklogic.com/xdmp/privileges/external-security-set-name
declareUpdate(); const sec = require('/MarkLogic/security'); sec.externalSecuritySetName('ldapconfig', 'newconfig'); // Changes the name of the external authorization configuration object // from 'ldapconfig' to 'newconfig'.