Print

GetEmail

This function gets specified user’s main email address.

Syntax

GetEmail("userLogin");

Function arguments

  • userLogin – (String) The login of the user for which email address is to be retrieved

Return value

This function returns String.
Returns email address for specified user (i.e. 'r.simmons@company.com’) or an empty string, if there is no email address available for that user.

Examples

Example 1:
This will get main email address for user with login 'j.simmons’ and store it in 'mail’ variable.

mail = GetEmail("j.simmons");

Example 2:
This will get main email address for current user and store it in 'myMail’ variable.

myMail = GetEmail( CurrentUser() );
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?