---
title: "update user · RUAL Documentation"
description: "update the given user their information or password"
canonical: https://docs.rual.nl/block-types/users/function_user_update
language: en
---

# update user

This block is part of the [`users`](https://docs.rual.nl/block-types/users) group and was last modified in core [`v12.0.4`](https://docs.rual.nl/core-versions/120004).

update the given user their information or password

- flow `flow`

- guid required `v11.1.17` `value` The documents GUID (unique ID) to update.

- Password `value` New passsword, only available to the user itself (logged-in) or admins (manage_users enabled)

- User Data `mutations` Extra data for the user account

- expiry `date` The user will be deleted after this date

- flow `flow`

- success `v12.0.4` `condition`

- error `v12.0.4` `value`

- User `object`

A typical wiring for [update user](https://docs.rual.nl/block-types/users/function_user_update): [branch](https://docs.rual.nl/block-types/flow/branch) feeds the `flow` pin; [set fields](https://docs.rual.nl/block-types/mutations/mutations_set_bp_field_multiple) feeds the `mutations` pin; [new object](https://docs.rual.nl/block-types/object/object_new_fields) feeds the `user` pin; the `flow` out pin feeds [branch](https://docs.rual.nl/block-types/flow/branch); the function out pin wires to an [execute](https://docs.rual.nl/block-types/function%20execution/function_custom_execute_from_trigger) block.

![Studio canvas example for the update user block: typical wiring for update user.](https://docs.rual.nl/canvas-examples/function_user_update.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [branch](https://docs.rual.nl/block-types/flow/branch): wired in both directions with this block.

- [set fields](https://docs.rual.nl/block-types/mutations/mutations_set_bp_field_multiple): feeds into this block. Generates an array of mutations based on the given filled fields.

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [new object](https://docs.rual.nl/block-types/object/object_new_fields): this block feeds into it. Builds a new object filled with the given fields.

### Version history

Introduced in [`v12.0.4`](https://docs.rual.nl/core-versions/120004).
