Loading TOC...

sec.externalSecuritySetSamlAttributeNames

sec.externalSecuritySetSamlAttributeNames(
   $external-security-name as String,
   $saml-attribute-names as String[]
) as null

Summary

This function sets one or more SAML attribute named used by other security objects to identify the named SAML configuration.

Parameters
$external-security-name The name of the external security configuration.
$saml-attribute-names One or more SAML attribute names.

Example


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

sec.externalSecuritySetSamlAttributeNames('samlconfig', ['attr1', 'attr2']);
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.