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


## Description

> Macro (excerpt)
> 
> Gets the user by full name.

Gets the user by full name.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getUserByFullName(fullName, [forceIncludeEmail]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| fullName | String | Yes | Full name. |
| forceIncludeEmail | boolean | No | Optional boolean flag which, if true, is used to force the extraction of the user's email in the result. |

## Return Type

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

Returns the first user found with the specified full name.

## See also

> Macro (contentbylabel)