More actions
Nguyenduyan (talk | contribs) |
Nguyenduyan (talk | contribs) |
||
Line 23: | Line 23: | ||
number resourceTemplateId = 15070738; | number resourceTemplateId = 15070738; | ||
string emailaddress = | string emailaddress = “an@mss.vn”; | ||
array a = User_getUsersByEmail(emailaddress,resourceTemplateId); | array a = User_getUsersByEmail(emailaddress,resourceTemplateId); | ||
// return result | |||
{{5,37283682,antest,15070738,123456,True,0,False,{},{1,1,1,7,0,0,0,1,65},{1,1,1,7,0,0,0,1,65},en-GB,en-GB,[email protected],Duy An,,,DKK,,0,65,,,,,,,,False,False,,37278404},{5,37283684,CG5942178239,15070738,LXltlTyF,True,0,False,{},{1,1,1,7,0,0,0,1,65},{1,1,1,7,0,0,0,1,65},en-GB,en-GB,[email protected],,,,DKK,,0,65,,,,,,,,False,False,,37278404}} | |||
'''Availability''' | '''Availability''' |
Revision as of 05:16, 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 = “[email protected]”;
array a = User_getUsersByEmail(emailaddress,resourceTemplateId);
// return result
{{5,37283682,antest,15070738,123456,True,0,False,{},{1,1,1,7,0,0,0,1,65},{1,1,1,7,0,0,0,1,65},en-GB,en-GB,[email protected],Duy An,,,DKK,,0,65,,,,,,,,False,False,,37278404},{5,37283684,CG5942178239,15070738,LXltlTyF,True,0,False,{},{1,1,1,7,0,0,0,1,65},{1,1,1,7,0,0,0,1,65},en-GB,en-GB,[email protected],,,,DKK,,0,65,,,,,,,,False,False,,37278404}}
Availability
Version 5.8