Update user account

The Update user account action node updates an existing user in the solution. Roles can be assigned and or removed to determine the user's permissions. A reset password or login link email can be automatically triggered.

Usage

This action node is used when you would like client users to be able to update their own information or update other users in a solution. For example, a client user with a custom Administrator role may be granted the permission to assign and remove roles for other users.

When the action node successfully completes, the User object is immediately updated in the database. It is not necessary to persist any changes.

Important

  • A user's email address cannot be updated. If you need to update an email address you must delete the user and create a new one.

  • A user does not require any special permissions to update their own first name, last name and phone number.

  • The user running this action node must have a role with the appropriate permissions to update a user and assign and remove any selected roles. Read more under Users.

  • The appropriate user account manipulation properties must be enabled for the relevant environment.

Properties

PropertyDescription

User Account

First Name

The user's first name.

Last Name

The user's last name.

Phone

The user's phone number.

Add Roles

Remove Roles

Reset Password

Send Login Link

Override Default Mail

Available if Reset Password or Send Login Link is selected.

Override the subject and body of the email.

Link TTL

Available if Override Default Email is selected.

Specify how long the reset password or login link in the email will be valid, in seconds, up to a maximum of 1 week. The default is 900 seconds (15 minutes).

Login Link Redirect Path

Available if Override Default Email is selected. Redirect the user to the specified path after they click the login link. The path must start at the domain root, for example: /READABLE_ID/VIEW_NAME/SUBVIEW_NAME?URL_PARAM=value.

Subject

Available if Override Default Email is selected. Override the subject of the email.

Body Text Template

Body HTML Template

Last updated