MarkLogic 9 Product Documentation
sec:get-credential-by-id

sec:get-credential-by-id(
   $credential-id as xs:unsignedLong
) as element(sec:credential)

Summary

This function returns the specified PEM encoded X509 certificate.

Parameters
credential-id Credential id.

Example



xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";

sec:get-credential-by-id(3417729992254373588)
 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy