banner

UserInfo.get_PrimaryEmail method

Returns the end user's primary e-mail address that is stored in the UserInfo object.

Syntax

sPrimaryEmail = window.external.UserInfo.get_PrimaryEmail();

Parameters None
Return Values String. The end user's primary e-mail address that is stored in the UserInfo object.
Applies To window.external.UserInfo
Example
var strPrimaryEmail = window.external.UserInfo.get_PrimaryEmail();