MarkLogic 10 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy