Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.