This routine is available starting with Power Scripts 4.0.0.
Retrieves a structure containing information about an user that has been created or updated.
A JUser value containing the user data.
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.