---
title: "getUserByEmail"
canonical: "https://support.appfire.com/space/PSJC/434831877/getUserByEmail"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Gets the user by email address.

Gets the user by email address.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getUserByEmail(email) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| email | String | Yes | Email address. |

## Return Type

**[JUser](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

> ⚠️ If there are more users with the same email address, the function does not guarantee that it will always return the same user.

## See also

> Macro (contentbylabel)