Export (0) Print
Expand All
Expand Minimize

SPUtility.GetIdentifierFromEmail Method

Windows SharePoint Services 3

NOTE: This API is now obsolete.

Returns the identifier (ID) of the site user based on the specified e-mail address.

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

[ObsoleteAttribute("Use SPUtility.ResolvePrincipal instead")]
public static string GetIdentifierFromEmail(
	SPWeb web,
	string email
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the site.
email
Type: System.String
A string that contains the e-mail address.

Return Value

Type: System.String
A string that contains the ID.

Community Additions

ADD
Show:
© 2014 Microsoft