Difference between revisions of "User getUsersByEmail"

From Catglobe Wiki
Jump to: navigation, search
(User_getUsersByEmail)
(User_getUsersByEmail)
Line 8: Line 8:
 
'''Syntax'''
 
'''Syntax'''
  
User_getUsersByEmail(emailaddress[,resourcetemplateid])
+
User_getUsersByEmail(emailaddress[,resourceTemplateId])
  
 
'''Arguments'''
 
'''Arguments'''
  
 
* emailaddress: is a ''string ''expression. It is the email address of user.
 
* emailaddress: is a ''string ''expression. It is the email address of user.
* resourcetemplateid: is a ''number ''expression. It is the resource template id (optional)
+
* resourceTemplateId: is a ''number ''expression. It is the resource template id (optional)
  
 
'''Return value'''
 
'''Return value'''
Line 21: Line 21:
 
'''Example'''
 
'''Example'''
  
number resourcetemplateid = 15070738;
+
number resourceTemplateId = 15070738;
  
 
string emailaddress = “minh@catglobe.com”;
 
string emailaddress = “minh@catglobe.com”;
  
array a = User_getUsersByEmail(emailaddress,resourcetemplateid);
+
array a = User_getUsersByEmail(emailaddress,resourceTemplateId);
  
 
'''Availability'''
 
'''Availability'''

Revision as of 06:12, 24 April 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 (optional)

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