MarkLogic 12 EA 1 Product Documentation
xdmp:group-name

xdmp:group-name(
   [$groupID as xs:unsignedLong]
) as xs: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:group-name(134722342511344334243)
=> "Default"
Powered by MarkLogic Server | Terms of Use | Privacy Policy