getUserInfo method: Utility class

Syntax

getUserInfo(user_ID)

Description

Use this method to return the user name and email address of the given user ID.

Parameters

Parameter Description

user_ID

Specifies the user ID for which to retrieve the user information, as a string.

Returns

An array of string containing two elements:

  • User name (or the user ID if this is empty).

  • Email address (or an empty string if this is empty).