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']);
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy