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

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

## Description

> Macro (excerpt)
> 
> Retrieves a structure containing information about a user that has been deleted.

Retrieves a structure containing information about a user that has been deleted.

## Return Type

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

## Example

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

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

## See also

> Macro (contentbylabel)