MarkLogic Server 11.0 Product Documentation
xdmp:group-hosts

xdmp:group-hosts(
   [$groupID as xs:unsignedLong]
) as xs:unsignedLong*

Summary

Returns the IDs of all hosts belonging to the group with the given ID. If no parameter is specified, it uses the group of the current host.

Parameters
groupID The ID of the group. The default value is the ID of the group to which the current host belongs.

Example

xdmp:group-hosts(134722342511344334243)
=> 18263538320779601865
   2760886727871312968
Powered by MarkLogic Server | Terms of Use | Privacy Policy