SPUtility.GetLoginNameFromEmail(SPSite, String) Method

Definition

Caution

Use SPUtility.ResolvePrincipal instead

public:
 static System::String ^ GetLoginNameFromEmail(Microsoft::SharePoint::SPSite ^ site, System::String ^ email);
[System.Obsolete("Use SPUtility.ResolvePrincipal instead")]
public static string GetLoginNameFromEmail (Microsoft.SharePoint.SPSite site, string email);
static member GetLoginNameFromEmail : Microsoft.SharePoint.SPSite * string -> string
Public Shared Function GetLoginNameFromEmail (site As SPSite, email As String) As String

Parameters

site
SPSite
email
String

Returns

String
Attributes

Applies to