GetAllUsers Method

MySQL Connector/Net

Gets a collection of all the users in the data source in pages of data.

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

Syntax

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

Parameters

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