|
| MySQL Connector/Net |
| MySQLMembershipProvider..::..FindUsersByName Method |
| MySQLMembershipProvider Class See Also Send Feedback |
|
Gets a collection of membership users where the user name contains the specified user name to match.
Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
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 |
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%
The total number of matched users.