Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetIdentifierFromEmail method
Collapse the table of content
Expand the table of content

SPUtility.GetIdentifierFromEmail method

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


Type: Microsoft.SharePoint.SPWeb

A Microsoft.SharePoint.SPWeb object that represents the site.

Type: System.String

A string that contains the e-mail address.

Return value

Type: System.String
A string that contains the ID.
© 2015 Microsoft