http://onionworks.net/2006/data/application

createGroup (groupName : string) : xlink

The method “createGroup()” creates a new group in the user administration. If it was possible to create the group, the return value is the xlink to the produced group; otherwise the return value is empty.

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

<xsl:stylesheet xmlns:app="http://onionworks.net/2006/data/application" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:onion="http://onionworks.net/2004/data" version="1.0">
<xsl:template match="/">
<xsl:choose>
<xsl:when test="app:createGroup('testgroup')">The group was created.</xsl:when>
<xsl:otherwise>The group could not be created.</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Gruppe erstellen