xdmp.hostGroup( [ID as (Number|String)] ) as (Number|String)
Returns the ID of the group that the specified host belongs to.
xdmp.hostGroup(15495681647217162987); => "9876543211234"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.