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 the user with the specified e-mail address.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetByEmail ( _
emailAddress As String _
) As SPUser
'Usage
Dim instance As SPUserCollection
Dim emailAddress As String
Dim returnValue As SPUser
returnValue = instance.GetByEmail(emailAddress)
public SPUser GetByEmail(
string emailAddress
)
Parameters
emailAddress
Type: System.StringA 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.