Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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