Loading TOC...

xdmp:credential-id

xdmp:credential-id(
   $credential-name as xs:string
) as xs:unsignedLong

Summary

Returns the id of a named credential.

Parameters
$credential-name A credential name.

Example

xdmp:credential-id("intraweb")
=> 92837172832323

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