getNewUserFromEvent

Availability

This routine is available starting with Power Scripts 4.0.0.

Syntax

getNewUserFromEvent()

Description

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

Return value

A JUser value containing the user data.

Example

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