getUser
Syntax | getUser(accountId, [forceIncludeEmail]) | Package |
|
Alias |
| Pkg Usage |
|
Description
Gets the user by account id.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
accountId | String | Yes | The account id of the user that needs to be retrieved. |
forceIncludeEmail | boolean | No | Optional boolean flag which, if true, is used to force the extraction of the user's email in the result. |
Return Type
Returns the user.
Example
JUser usr = getUser("john.doe");