---
title: "user exists · RUAL Documentation"
description: "Finds a user by ID."
canonical: https://docs.rual.nl/block-types/users/function_user_exists
language: en
---

# user exists

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

Finds a user by ID.

- flow `flow`

- User ID required `value` The ID of the user (eg: username, email, code)

- flow `flow`

- user `user` Returns the user if one was found matching the ID.

- Exists `condition`

A typical wiring for [user exists](https://docs.rual.nl/block-types/users/function_user_exists): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `user_id` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

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

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
