Loading TOC...

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"

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