Loading TOC...

MarkLogic Server 11.0 Product Documentation
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"))
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.