SimpleMembershipProvider.FindUsersByName(String, Int32, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回名稱符合指定之使用者名稱的所有使用者帳戶。
public override System.Web.Security.MembershipUserCollection FindUsersByName (string usernameToMatch, int pageIndex, int pageSize, out int totalRecords);
override this.FindUsersByName : string * int * int * int -> System.Web.Security.MembershipUserCollection
Public Overrides Function FindUsersByName (usernameToMatch As String, pageIndex As Integer, pageSize As Integer, ByRef totalRecords As Integer) As MembershipUserCollection
參數
- usernameToMatch
- String
要搜尋的使用者名稱。
- pageIndex
- Int32
要傳回的結果網頁之以零起始的索引。
- pageSize
- Int32
要傳回的結果網頁大小。
- totalRecords
- Int32
傳回這個方法時,其中包含相符使用者的總數。
傳回
集合,包含從 所 pageIndex
指定頁面開始的使用者帳戶頁面 pageSize
。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應