MySQL Connector/Net |
MySQLProfileProvider..::.FindProfilesByUserName Method |
MySQLProfileProvider Class See Also Send Feedback |
When overridden in a derived class, retrieves profile information
for profiles in which the user name matches the specified user names.
Namespace:
MySql.Web.Profile
Assembly:
MySql.Web (in MySql.Web.dll) Version: 6.2.2.0
Syntax
C# |
---|
public override ProfileInfoCollection FindProfilesByUserName( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, out int totalRecords ) |
Visual Basic (Declaration) |
---|
Public Overrides Function FindProfilesByUserName ( _ authenticationOption As ProfileAuthenticationOption, _ usernameToMatch As String, _ pageIndex As Integer, _ pageSize As Integer, _ <OutAttribute> ByRef totalRecords As Integer _ ) As ProfileInfoCollection |
Visual C++ |
---|
public: virtual ProfileInfoCollection^ FindProfilesByUserName( ProfileAuthenticationOption authenticationOption, String^ usernameToMatch, int pageIndex, int pageSize, [OutAttribute] int% totalRecords ) override |
Parameters
- authenticationOption
- Type: System.Web.Profile..::.ProfileAuthenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
- usernameToMatch
- Type: System..::.String
The user name to search for.
- pageIndex
- Type: System..::.Int32
The index of the page of results to return.
- 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 profiles.