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)

Syntax

'Declaration
Public Shared Function GetCurrentUserEmailAddresses As String
'Usage
Dim returnValue As String

returnValue = SPUtility.GetCurrentUserEmailAddresses()
public static string GetCurrentUserEmailAddresses()

Return value

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

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace