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

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

## Description

> Macro (excerpt)
> 
> Retrieves a structure containing information about an user that has been created or updated.

Retrieves a structure containing information about an user that has been created or updated.

## Return Type

[**CUser**](https://appfire.atlassian.net/wiki/spaces/PSCONF/pages/15303915)

## Example

```javascript
logPrint("INFO", "Result of listener: " + getNewUserFromEvent());
```

The result is a structure containing the user key, user name, the display name and the email of the user.

## See also

> Macro (contentbylabel)