Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
getCurrentUserEmailAddresses(Context) Method

SP.Utilities.Utility.getCurrentUserEmailAddresses(Context) Method

SharePoint 2010

Last modified: May 03, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

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

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

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.

Show:
© 2015 Microsoft