Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.FindUsersByEmail Method

Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.

[Visual Basic]
Public Sub FindUsersByEmail( _
   ByVal emailToMatch As String, _
   ByVal pageIndex As Integer, _
   ByVal pageSize As Integer, _
   ByRef totalRecords As Integer _
)
[C#]
MembershipUserCollection FindUsersByEmail(
   string emailToMatch,
   int pageIndex,
   int pageSize,
   out int totalRecords
);

Parameters

emailToMatch
The e-mail address to search for.
pageIndex
The index of the page of results to return. pageIndex is zero-based.
pageSize
The size of the page of results to return.
totalRecords
The total number of matched users.

Return Value

A MembershipUserCollection collection that contains a page of pageSizeMembershipUser objects beginning at the page specified by pageIndex.

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace