SP.Utilities.Utility.getCurrentUserEmailAddresses(Context) Method

SharePoint 2010

Last modified: May 03, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To

Gets the email and mobile email addresses of the current user.

var value = SP.Utilities.Utility.getCurrentUserEmailAddresses(Context);


Type: SP.ClientRuntimeContext

The runtime context for accessing data from and invoking methods on remote objects.

Type: SP.StringResult

The email and mobile email addresses separated by a semi-colon.

If the user does not have a mobile email address, this method gets only the email address.