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

deleteGroup (groupReference : xlink) : xlink

The method “deleteGroup()” deletes a group in the user administration. If it was possible to delete the group, the return value is “true”, otherwise “false”.

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:deleteGroup('onion://usermanagement/groups/123')">The group was deleted successfully.</xsl:when>
<xsl:otherwise>The group could not be deleted.</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
deleting group