Export (0) Print
Expand All

SPUserCollection.GetByEmail method

Returns the user with the specified e-mail address.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPUser GetByEmail(
	string emailAddress
)

Parameters

emailAddress
Type: System.String

A string that contains the e-mail address of the user.

Return value

Type: Microsoft.SharePoint.SPUser
A Microsoft.SharePoint.SPUser object that represents the user.
Show:
© 2014 Microsoft