getUser

getUser

 

 

Syntax

getUser(user)

Package

 

Alias

 

Pkg Usage

 

Description

Gets the user by username or key.

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

user

String

Yes

Username or key. Searches by the user key first and if there is no result by the user name as well.

Return Type

JUser

Returns the user.

Example

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

 

The look-up is first made after the userkey, then after the username.

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.