VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / FindUsersByEmail Method
The email address to search for.
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
    FindUsersByEmail Method
    In This Topic
    Gets a collection of membership users where the email address contains the specified email address to match.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function FindUsersByEmail( _
       ByVal emailToMatch As System.String, _
       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 emailToMatch As System.String
    Dim pageIndex As System.Integer
    Dim pageSize As System.Integer
    Dim totalRecords As System.Integer
    Dim value As System.Web.Security.MembershipUserCollection
     
    value = instance.FindUsersByEmail(emailToMatch, pageIndex, pageSize, totalRecords)
    public override System.Web.Security.MembershipUserCollection FindUsersByEmail( 
       System.string emailToMatch,
       System.int pageIndex,
       System.int pageSize,
       out System.int totalRecords
    )

    Parameters

    emailToMatch
    The email 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 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