---
title: "userExists"
canonical: "https://support.appfire.com/space/PSJ/15484868/userExists"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | userExists(user) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Verifies if the selected user is registered Jira user.

Verifies if the selected user is registered Jira user.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| user | String | Yes | Username or userkey of the verified user. Searches by the user key first and if there is no result by the user name as well. |

## Return Type

**Boolean**

A "true" return value means that there is a registered Jira user associated with the specified username or userkey.

## Example

```
userExists("Administrator");
```

Returns "true" if **Administrator** is the username of a registered Jira user and "false" otherwise.

> ⚠️ The look-up is first made after the userkey, then after the username.

## See also

> Macro (contentbylabel)