http://onionworks.net/2006/data/editing
updateUsername (userReference : string, username : string) : string
The method updateUsername updates the username für a user.
The parameter "userReference" specifies for which user the username is to be set. The second parameter "username" has to be the new username.
In order to set the username, the which the method is being executed must at least be the user administrator. The rull still applies that the username can be only set if the executing user has more rights (e.g. administrator) than the user to be revised. Additionally the executing user is not able to update its own username.
If the username has been updated successfully, the method returns the value "success" else "error".
<xsl:stylesheet version="1.0">
<xsl:template match="/">
</xsl:stylesheet><xsl:value-of select="edit:updateUsername('onion://usermanagement/users/123', 'username')" />
</xsl:template>