Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sec:external-security-set-saml-privilege-attribute-name

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

Summary

This function sets the SAML privilege attribute name in the SAML configuration.

Parameters
external-security-name The name of the external security configuration.
saml-privilege-attribute-name The name of the SAML privilege attribute.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-saml-privilege-attribute-name

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-privilege-attribute-name(
      "samlConfig","xdmp:compressed-tree-cache-size")

 
    

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