
xdmp.group( [name as String] ) as (Number|String)
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. |
xdmp.group("Default");
=> 134722342511344334243
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.