Loading TOC...

xdmp.group

xdmp.group(
   [name as String]
) as (Number|String)

Summary

Returns the ID of the group specified in the parameter. Returns the ID of the current group if no parameter is specified.

Parameters
name The name of the group. The default value is the name of the group the current host belongs to.

Example

xdmp.group("Default");
=> 134722342511344334243

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