
pki:template-get-name( $template as element(pki:template) ) as xs:string
This function returns the name of the specified certificate template.
| Parameters | |
|---|---|
| template | The certificate template from which to get the name. |
(: execute this against the security database :)
xquery version "1.0-ml";
import module namespace pki = "http://marklogic.com/xdmp/pki"
at "/MarkLogic/pki.xqy";
for $tid in pki:get-template-ids()
return pki:template-get-name(pki:get-template($tid))
=>
mycert3
mycert2
mycert
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.