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 getUsersByResourceIds: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Created page with " Category:User_Functions {{HelpFiles}} = User_getUsersByResourceIds = == Syntax == User_getUsersByResourceIds (array userResourceIds); == Arguments == ''userResourc..."
 
Nguyenduyan (talk | contribs)
 
Line 13: Line 13:
== Arguments ==
== Arguments ==
''userResourceIds'': array. Array of User resource id
''userResourceIds'': array. Array of User resource id
== Return type ==
== Return type ==
Array (Array of User object)
Array (Array of [[User new|User object]])


== Example ==
== Example ==

Latest revision as of 09:02, 14 August 2017


User_getUsersByResourceIds

Syntax

User_getUsersByResourceIds (array userResourceIds);

Arguments

userResourceIds: array. Array of User resource id

Return type

Array (Array of User object)

Example

array a = User_getUsersByResourceIds ({10768810,15571175});
for (number i=0;i<a.Count;i++)
{
	array user = a[i];
	print(user[USER_NAME]);
	print(user[USER_EMAIL]);
}