Loading TOC...

xdmp:group

xdmp:group(
   [$name as xs:string]
) as xs:unsignedLong

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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.