getUserFromEvent (the cloud version)

The routine is somehow a combination of the server routines for the user events (getNewUserFromEvent / getOldUserFromEvent).  

Syntax

getUserFromEvent()

Description

Retrieves a structure containing information about an user that has been created, updated (the new information) or deleted.

Return value

A JUser value containing the user data.

Example

logPrint("INFO""Result of listener: " + getUserFromEvent());

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