More actions
No edit summary |
Cg huyphong (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:User_Functions]] | [[Category:User_Functions]] | ||
| {{HelpFiles}} | ||
====User_getUserByUsername==== | ====User_getUserByUsername==== | ||
Line 21: | Line 21: | ||
''array user = User_getUserByUsername("sebastianohara");'' | ''array user = User_getUserByUsername("sebastianohara");'' | ||
''//Return user object array'' | |||
'''Availability''' | '''Availability''' |
Latest revision as of 05:13, 22 December 2011
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