VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / GetAllUsers Method
The index of the page of results to return. pageIndex is zero-based.
The size of the page of results to return.
The total number of matched users.


In This Topic
    GetAllUsers Method
    In This Topic
    Gets a collection of all the users in the data source in pages of data.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function GetAllUsers( _
       ByVal pageIndex As System.Integer, _
       ByVal pageSize As System.Integer, _
       ByRef totalRecords As System.Integer _
    ) As System.Web.Security.MembershipUserCollection
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim pageIndex As System.Integer
    Dim pageSize As System.Integer
    Dim totalRecords As System.Integer
    Dim value As System.Web.Security.MembershipUserCollection
     
    value = instance.GetAllUsers(pageIndex, pageSize, totalRecords)
    public override System.Web.Security.MembershipUserCollection GetAllUsers( 
       System.int pageIndex,
       System.int pageSize,
       out System.int totalRecords
    )

    Parameters

    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 System.Web.Security.MembershipUserCollection collection that contains a page of pageSize System.Web.Security.MembershipUser objects beginning at the page specified by pageIndex.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also