SPUtility.GuessLoginNameFromEmail(SPSite, String) Method

Definition

Caution

Use SPUtility.ResolvePrincipal instead

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

Parameters

site
SPSite
email
String

Returns

String
Attributes

Applies to