GnomonMembershipProviderFindUsersByName Method |
Gets a collection of membership users where the user name contains the specified user name to match.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override MembershipUserCollection FindUsersByName(
string usernameToMatch,
int pageIndex,
int pageSize,
ref int totalRecords
)
Public Overrides Function FindUsersByName (
usernameToMatch As String,
pageIndex As Integer,
pageSize As Integer,
ByRef totalRecords As Integer
) As MembershipUserCollection
public:
virtual MembershipUserCollection^ FindUsersByName(
String^ usernameToMatch,
int pageIndex,
int pageSize,
int% totalRecords
) override
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: SystemString
The user name to search for. - pageIndex
- Type: SystemInt32
The index of the page of results to return. pageIndex is zero-based. - pageSize
- Type: SystemInt32
The size of the page of results to return. - totalRecords
- Type: SystemInt32
The total number of matched users.
Return Value
Type:
MembershipUserCollectionA
MembershipUserCollection collection that contains a page of
pageSizeMembershipUser objects beginning at the page specified by
pageIndex.
Exceptions See Also