addGroupInclude (groupReference : xlink, includeReference : xlink) : boolean

A hierarchy can be created between two groups with the method “addGroupInclude()”. The group of the first parameter “groupReference” thus inherits all rights of the group, which is specified as the second parameter “includeReference”.

The web application user must be the user administrator in order to execute this method.

<xsl:stylesheet xmlns:app="" xmlns:xsl="" xmlns:onion="" version="1.0">
<xsl:template match="/">
<xsl:if test="app:addGroupInclude('onion://usermanagement/groups/123', 'onion://usermanagement/groups/1')"> The group 'testgroup' now also have the right the group "Users" have. </xsl:if>