createSettings (userReference : xlink, schemaLocation : string, content : nodeset, instance : string) : xlink

The method “createSettings()” produces a document in the user profile for a user.

The first three parameters are mandatory indications. An XML is submitted for “content”.

The parameter “instance” is optional. Each instance for a user profile is clear. The configuration of the instances takes place in a “user administration” document in the editor localisation. If the instance is not specified, then the default value is “default”.

If successful, the ReferenceIdentifier of the newly created data object (i.e. the user profile) is returned as the return value.

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

<xsl:stylesheet xmlns:onion="" xmlns:app="" xmlns:xsl="" version="1.0">
<xsl:template match="/">
<xsl:variable name="setting">
<usersetting onion:schema="Onion:">
<xsl:variable name="settingRefId" select="app:createSettings('onion://usermanagement/users/123', '', $setting, 'default')" />
<xsl:if test="string-length($settingRefId) > 0">Das Benutzerprofil wurde erstellt.</xsl:if>
Creating user profile