---
title: "userKeyToUserName"
canonical: "https://support.appfire.com/space/PSCONF/15304339/userKeyToUserName"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | userKeyToUserName(userKey) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns user name of the user with the provided user key.

Returns user name of the user with the provided user key.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | userKey | String | Yes | User key of the user. |

## Return Type

**String**

## Example

```javascript
userKeyToUserName("ff808081572b7e3801572b7f16ff0000");
```

## See also

> Macro (contentbylabel)