FindUsersByEmail Method

MySQL Connector/Net

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

Namespace:  MySql.Web.Security
Assembly:  MySql.Web (in MySql.Web.dll) Version: 6.2.2.0

Syntax

C#
public override MembershipUserCollection FindUsersByEmail(
	string emailToMatch,
	int pageIndex,
	int pageSize,
	out int totalRecords
)
Visual Basic (Declaration)
Public Overrides Function FindUsersByEmail ( _
	emailToMatch As String, _
	pageIndex As Integer, _
	pageSize As Integer, _
	<OutAttribute> ByRef totalRecords As Integer _
) As MembershipUserCollection
Visual C++
public:
virtual MembershipUserCollection^ FindUsersByEmail(
	String^ emailToMatch, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% totalRecords
) override

Parameters

emailToMatch
Type: System..::.String
The e-mail address to search for.
pageIndex
Type: System..::.Int32
The index of the page of results to return. pageIndex is zero-based.
pageSize
Type: System..::.Int32
The size of the page of results to return.
totalRecords
Type: System..::.Int32 %
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