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

Property
Description

User Account

The data source containing the User object to update.

First Name

The user's first name.

Last Name

The user's last name.

Phone

The user's phone number.

Add Roles

Roles to assign to the user. Roles selected here will be in addition to any existing roles. If a role is also selected in Remove Roles, the user will not be assigned that role.

Remove Roles

Roles to remove from the user.

Reset Password

Send an email to the user with a link to reset their password. This email template can be customized in a Login configuration, or overridden for this action node only by selecting Override Default Mail.

Send Login Link

Send an email to the user with a link to log in immediately. This email template can be customized in a Login configuration, or overridden for this action node only by selecting Override Default Mail.

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

Available if Override Default Mail is selected. Override the plain text email body. See Login configuration for available parameters.

Body HTML Template

Available if Override Default Email is selected. Override the HTML email body. See Login configuration for available parameters. A Body Text Template is also required when you specify an HTML template.

Last updated