Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sec.getCredentialById

sec.getCredentialById(
   credential-id as (Number|String)
) as element(sec.credential)

Summary

This function returns the specified PEM encoded X509 certificate.

Parameters
credential-id Credential id.

Example



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

sec.getCredentialById(3417729992254373588)
 
    

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