sec.credentialSetSigning( credential-name as String, signing as Boolean ) as null
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. |
http://marklogic.com/xdmp/privileges/credential-set-signing
This function must be executed against the security database.
declareUpdate(); const sec = require('/MarkLogic/security.xqy'); sec.credentialSetSigning("my-secure-credential", fn.false());
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.