User.EMail Property (Restricted)
Requires PassportSiteID permission. Contains a string with the e-mail address of the user. This property is read-only.
set myUsers=external.Users set myLocalUser = myUsers.Me document.write( myLocalUser.EMail )
var myUsers = window.external.Users; var myLocalUser = myUsers.Me; document.write( myLocalUser.EMail );
Contains a string with the e-mail address of the user, as provided by the Microsoft® .NET Passport Unique ID (PUID).
To print the e-mail address of the local user in the body of the document, set a span of text to the value of Users.Me.EMail, as shown in the following example.
<!-- Assign a new value to innerhtml of whatsmyemail to replace the empty space below. --> Send mail to '<span id="whatsmyemail"> </span>'.
Use of this property is restricted by the PassportSiteID flag. An application that does not possess this flag is not able to read this information from MSN® Messenger. No error is thrown, and a blank value is returned.