Difference between revisions of "User getUsersByEmail"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:User_Functions]]
 

 

  
====User_getUsersByEmail====
+
==User_getUsersByEmail==
  
 
Get user by email address
 
Get user by email address

Revision as of 08:09, 17 February 2012



User_getUsersByEmail

Get user by email address

Syntax

User_getUsersByEmail(emailaddress,resourcetemplateid)

Arguments

  • emailaddress: is a string expression. It is the email address of user.
  • resourcetemplateid: is a number expression. It is the resource template id

Return value

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

Example

number resourcetemplateid = 15070738;

string emailaddress = “minh@catglobe.com”;

array a = User_getUsersByEmail(emailaddress,resourcetemplateid);

Availability

Version 5.8