
sec.getCredential( credential-name as String ) as element(sec.credential)
Gets a credential.
| Parameters | |
|---|---|
| credential-name | The name of the credential to get. |
http://marklogic.com/xdmp/privileges/get-credential
This function must be executed against the security database.
const sec = require('/MarkLogic/security.xqy');
sec.getCredential("my-secure-credential")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.