Loading TOC...

sec.externalSecuritySetSamlEntityId

sec.externalSecuritySetSamlEntityId(
   external-security-name as String,
   saml-entity-id as String
) as null

Summary

\ This function sets the SAML entity ID used by other security objects to identify the named SAML configuration.

Parameters
external-security-name The name of the external security configuration.
saml-entity-id The saml entity id to be set.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-saml-entity-id

Usage Notes

This function must be executed against the security database.

Example


declareUpdate();
const sec = require('/MarkLogic/security');

sec.externalSecuritySetSamlEntityId('samlconfig', 'samlid'); 
   

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