getUser

getUser

 

Syntax

getUser(accountId, [forceIncludeEmail])

Package

 

Alias

 

Pkg Usage

 

Description

Gets the user by account id.

Parameters

Parameter name

Type

Required

Description

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

JUser

Returns the user.

Example

JUser usr = getUser("john.doe");

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.