
sec:external-security-set-saml-attribute-names( $external-security-name as xs:string, $saml-attribute-names as xs:string* ) as empty-sequence()
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-namesThis function must be executed against the security database.
xquery version "1.0-ml";
import module namespace sec = "http://marklogic.com/xdmp/security"
at "/MarkLogic/security.xqy";
sec:external-security-set-saml-attribute-names("samlConfig",("attr1", "attr2"))