MarkLogic 10 Product Documentation
xdmp:server-name

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

Summary

Return the name of the App Server, XDBC Server, ODBC Server, or Task Server with the given ID.

Parameters
id An App Server, XDBC Server, ODBC Server, or Task Server ID.

Example

xdmp:server-name(845637403676198)
=> "Docs"
Powered by MarkLogic Server | Terms of Use | Privacy Policy