Difference between revisions of "User getUserByResourceId"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

+
{{HelpFiles}}
  
 
====User_getUserByResourceId====
 
====User_getUserByResourceId====

Revision as of 07:59, 14 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);

Availability

Version 5.6