sec.externalSecuritySetSamlAttributeNames( external-security-name as String, saml-attribute-names as String[] ) as null
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. |
http://marklogic.com/xdmp/privileges/external-security-set-saml-attribute-names
This function must be executed against the security database.
declareUpdate(); const sec = require('/MarkLogic/security'); sec.externalSecuritySetSamlAttributeNames('samlconfig', ['attr1', 'attr2']);