Loading TOC...

MarkLogic 10 Product Documentation
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.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-saml-entity-id

Usage Notes

This function must be executed against the security database.

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.