MarkLogic 10 Product Documentation
xdmp.groupName

xdmp.groupName(
   [groupID as (Number|String)]
) as String

Summary

Returns the name of the group with the given ID. Returns the name of the current group if no parameter is specified.

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

Example

xdmp.groupName(134722342511344334243);
=> "Default"
Powered by MarkLogic Server | Terms of Use | Privacy Policy