# User

> Branch on who triggered the flow.

Source: https://docs.buildcord.dev/nodes/conditions/user/

`logic.user` checks whether a particular person, or one of several, started the flow.

## Settings

| Setting | What it does |
| --- | --- |
| Is one of | IDs or usernames, separated by commas, or a token holding a list such as `{var.staff}`. |
| Checking | Someone else to check instead of whoever started the flow, such as `{option.member}`. |

## Ways out

| Way out | Taken when |
| --- | --- |
| `It's them` | That person, or one of them, started the flow. |
| `Someone else` | Anyone else did. |

## Notes

- Use IDs rather than usernames. Nobody can take someone else's ID, but a username can change hands after its owner changes it. A username only matches whoever started the flow.
- Display names never match. Anyone can set their display name to anything, so a check on one would let anyone through.
- To check a role instead, use [Role](https://docs.buildcord.dev/nodes/conditions/role).

## Related

- [Role](https://docs.buildcord.dev/nodes/conditions/role)
