SimpleMembershipProvider.GetAllUsers(Int32, Int32, Int32) SimpleMembershipProvider.GetAllUsers(Int32, Int32, Int32) SimpleMembershipProvider.GetAllUsers(Int32, Int32, Int32) Method

Definition

Returns all of the user accounts in the data source.

public override System.Web.Security.MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords);
override this.GetAllUsers : int * int *  -> System.Web.Security.MembershipUserCollection
Public Overrides Function GetAllUsers (pageIndex As Integer, pageSize As Integer, ByRef totalRecords As Integer) As MembershipUserCollection
Parameters
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