
sec.removeCredentialById( credential-id as (Number|String) ) as null
This function removes the specified credential.
| Parameters | |
|---|---|
| credential-id | The ID of the credential to be removed. |
http://marklogic.com/xdmp/privileges/remove-credential-by-id
This function must be executed against the security database.
declareUpdate();
const sec = require('/MarkLogic/security.xqy');
sec.removeCredentialById(4358548373487543876)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.