SPUtility.GetCurrentUserEmailAddresses Method

Returns a string containing the email address of the current user.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableAttribute]
public static string GetCurrentUserEmailAddresses()

Return Value

Type: System.String
The value of the Email property of the SPUser object that represents the current user.
Show: