GetCurrentUserEmailAddresses method
Collapse the table of content
Expand the table of content

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)

public static string GetCurrentUserEmailAddresses()

Return value

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