
pki:get-template-ids() as xs:unsignedLong*
This function returns the ids for all of the certificate templates.
(: execute this against the security database :)
xquery version "1.0-ml";
import module namespace pki = "http://marklogic.com/xdmp/pki"
at "/MarkLogic/pki.xqy";
pki:get-template-ids()
=> 8197058186045144130
10553510181853787005
1457227631685032024
8898647899939825066
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.