SimpleMembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32) SimpleMembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32) SimpleMembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32) Method

Definition

Returns all of the user accounts whose email address matches the specified email address.

public override System.Web.Security.MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords);
override this.FindUsersByEmail : string * int * int *  -> System.Web.Security.MembershipUserCollection
Public Overrides Function FindUsersByEmail (emailToMatch As String, pageIndex As Integer, pageSize As Integer, ByRef totalRecords As Integer) As MembershipUserCollection
Parameters
emailToMatch
String String String

The email address to search for.

pageIndex
Int32 Int32 Int32

The zero-based index of the page of results to return.

pageSize
Int32 Int32 Int32

The size of the page of results to return.

totalRecords
Int32 Int32 Int32

When this method returns, contains the total number of matched user accounts.

Returns

A collection that contains a page of pageSize user accounts starting at the page specified by pageIndex.

Applies to