User getUserByUsername

From Catglobe Wiki
Revision as of 06:13, 22 December 2011 by Cg huyphong (talk | contribs) (User_getUserByUsername)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



User_getUserByUsername

Get a user object by username

Syntax

User_getUserByUsername(userName)

Arguments

  • userName: is a string expression

Return value

An array, it is the user object which has the same format as what created by User_new function

Example

array user = User_getUserByUsername("sebastianohara");

//Return user object array

Availability

Version 5.6