Gets a http context cached collection of membership users where the user name contains the specified user name to match.

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public override MembershipUserCollection FindUsersByName(
	string usernameToMatch,
	int pageIndex,
	int pageSize,
	out int totalRecords
)
Visual Basic
Public Overrides Function FindUsersByName ( 
	usernameToMatch As String,
	pageIndex As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef totalRecords As Integer
) As MembershipUserCollection
Visual C++
public:
virtual MembershipUserCollection^ FindUsersByName(
	String^ usernameToMatch, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% totalRecords
) override
F#
abstract FindUsersByName : 
        usernameToMatch : string * 
        pageIndex : int * 
        pageSize : int * 
        totalRecords : int byref -> MembershipUserCollection 
override FindUsersByName : 
        usernameToMatch : string * 
        pageIndex : int * 
        pageSize : int * 
        totalRecords : int byref -> MembershipUserCollection 

Parameters

usernameToMatch
Type: System..::..String
The user name to search for.
pageIndex
Type: System..::..Int32
The index of the page of results to return. pageIndex is zero-based.
pageSize
Type: System..::..Int32
The size of the page of results to return.
totalRecords
Type: System..::..Int32%
When this method returns, contains the total number of matched users.

Return Value

Type: MembershipUserCollection
A System.Web.Security.MembershipUserCollection that contains a page of pageSizeSystem.Web.Security.MembershipUser objects beginning at the page specified by pageIndex.

See Also