Difference between revisions of "User getUsersByResourceIds"

From Catglobe Wiki
Jump to: navigation, search
(Created page with " Category:User_Functions {{HelpFiles}} = User_getUsersByResourceIds = == Syntax == User_getUsersByResourceIds (array userResourceIds); == Arguments == ''userResourc...")
 
(Return type)
(Tag: visualeditor)
 
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 10: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]);
}