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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getUserKeysFromEmails(emails) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Finds the corresponding user keys for a list of email addresses.

Finds the corresponding user keys for a list of email addresses.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| emails | String[] | Yes | Array of email addresses. |

## Return Type

**String []**

> ⚠️ If there are more users with the same email address, the function will take the first one found and does not guarantee that it will always return the same user. The return value will contain at most one user for each email address in the input array.

## See also

> Macro (contentbylabel)