Share via


SimpleMembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32) 方法

定義

傳回電子郵件地址符合指定之電子郵件地址的所有使用者帳戶。

public override System.Web.Security.MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords);
override this.FindUsersByEmail : string * int * int * int -> System.Web.Security.MembershipUserCollection
Public Overrides Function FindUsersByEmail (emailToMatch As String, pageIndex As Integer, pageSize As Integer, ByRef totalRecords As Integer) As MembershipUserCollection

參數

emailToMatch
String

要搜尋的電子郵件地址。

pageIndex
Int32

要傳回的結果網頁之以零起始的索引。

pageSize
Int32

要傳回的結果網頁大小。

totalRecords
Int32

當這個方法傳回時,包含相符使用者帳戶的總數。

傳回

集合,包含使用者帳戶的頁面 pageSize ,從 所 pageIndex 指定的頁面開始。

適用於