Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User getUserByResourceId: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:User_Functions]]
[[Category:User_Functions]]

{{HelpFiles}}


====User_getUserByResourceId====
====User_getUserByResourceId====
Line 23: Line 23:


''array user = User_getUserByResourceId(resourceId);''
''array user = User_getUserByResourceId(resourceId);''
''//Return user object array''


'''Availability'''
'''Availability'''

Latest revision as of 05:10, 22 December 2011



User_getUserByResourceId

Get a user object by its resource id

Syntax

User_getUserByResourceId(userResourceId)

Arguments

  • userResourceId: is a number expression, it is the user's resource id

Return value

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

Example

number resourceId = User_getUniqueIdFromUserId(8505316);

array user = User_getUserByResourceId(resourceId);

//Return user object array

Availability

Version 5.6