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

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Nguyenduyan (talk | contribs)
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
* resourcetemplateid: is a ''number ''expression. It is the resource template id (optional)


'''Return value'''
'''Return value'''

Revision as of 05:10, 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);

Availability

Version 5.8