MarkLogic 10 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy