MarkLogic 9 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)
 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy