GetUserNameByEmail Method

Gets the user name associated with the specified e-mail address.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

public override string GetUserNameByEmail(
	string email
)

Parameters

email
Type: System..::.String
The e-mail address to search for.

Return Value

Type: System..::.String
The user name associated with the specified e-mail address. If no match is found, return nullNothingnullptra null reference (Nothing in Visual Basic).

Gets the user name associated with the specified e-mail address. The email is trimmed before the search begins.

Show: