getUser

Description

Gets the user by username or key.

Parameters

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

Peacock