management:remoteUserPropertiesService

Allows you to for example update the user properties.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

targetEndpointAddress

false

 

String/Object

The cms-endpoint adress to call with the SOAP-request.

operationName

true

 

String/Object

The operation you wish to perform on the user properties.

principal

false

 

String/Object

State this if you wish to override which user to update.

languageId

false

 

String/Object

In which language do you want to edit the property. Defaults to the current site language.

contentTypeDefinitionId

false

 

String/Object

Sets which content type to use when creating a new user property object if no existing is available.

forcePublication

false

 

String/Object

Sets it the change should be published directly by force. Important if the user should see the change soon after to confirm.

 

ID-result variable contains:
The status of the webservice call as a string.

Examples

This example updates the users Alias-attribute.

<page:deliveryContext id="dc" useFullUrl="true" disableNiceUri="false"/>
<content:contentTypeDefinition id="ctd" contentTypeDefinitionName="User properties"/>

<management:remoteUserPropertiesService id="rups"  operationName="updateUserProperties" languageId="${dc.languageId}" contentTypeDefinitionId="${ctd.id}">
      <management:userPropertiesAttributeParameter name="Alias" value="Blade"/>
<%--  IF WE HAVE A image upload we can do: <content:digitalAssetParameter assetKey="${fileItem.fieldName}" contentType="${fileItem.contentType}" fileItem="${fileItem}"/>--%>
</management:remoteUserPropertiesService>

 



comments powered by Disqus