Loading TOC...

MarkLogic Server 11.0 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.