deleteUser (userReference : xlink) : boolean

The method “deleteUser” deletes a user from the user administration. Moreover, the logged-in user can only delete the users he could also create via the rights system. This means a user manager cannot delete an administrator or other user administrators for example.

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

<xsl:stylesheet xmlns:xsl="" xmlns:app="" xmlns:onion="" version="1.0">
<xsl:template match="/">
<xsl:when test="app:deleteUser('onion://usermanagement/users/123')">The user was deleted successfuly.</xsl:when>
<xsl:otherwise>The user could not be deleted.</xsl:otherwise>
Deleting users