sec:external-security-set-saml-attribute-names

sec:external-security-set-saml-attribute-names(
   $external-security-name as xs:string,
   $saml-attribute-names as xs:string*
) as empty-sequence()

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-attribute-names

Usage Notes

This function must be executed against the security database.

Example



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