Share via


SP.Utilities.Utility.getCurrentUserEmailAddresses(Context) Method

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);

Parameters

Context

Type: SP.ClientRuntimeContext

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

Return Value

Type: SP.StringResult

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

Remarks

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

Applies To

SP.Utilities.Utility Class

See Also

Reference

SP.Utilities.Utility Methods

SP.Utilities Namespace