Loading TOC...

MarkLogic 10 Product Documentation
sec.credentialSetSigning

sec.credentialSetSigning(
   credential-name as String,
   signing as Boolean
) as null

Summary

This function updates the signing flag for the specified credential.

Parameters
credential-name The name of the credential.
signing The new boolean value for the signing flag.

Required Privileges

http://marklogic.com/xdmp/privileges/credential-set-signing

Usage Notes

This function must be executed against the security database.

Example



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

    sec.credentialSetSigning("my-secure-credential", fn.false());
      

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