getOldUserFromEvent

Availability

This routine is available starting with Power Scripts 4.0.0 (server).

Syntax

getOldUserFromEvent()

Description

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

Return value

A JUser value containing the component data.

Example

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