







![]() ![]() |
MySQL Connector/Net |
MySQLProfileProvider..::..FindInactiveProfilesByUserName Method |
MySQLProfileProvider Class See Also Send Feedback |
![]() |
When overridden in a derived class, retrieves profile information
for profiles in which the last activity date occurred on or before
the specified date and the user name matches the specified user name.
Namespace: MySql.Web.Profile
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
Syntax
C# |
---|
public override ProfileInfoCollection FindInactiveProfilesByUserName( ProfileAuthenticationOption authenticationOption, string usernameToMatch, DateTime userInactiveSinceDate, int pageIndex, int pageSize, out int totalRecords ) |
Visual Basic |
---|
Public Overrides Function FindInactiveProfilesByUserName ( _ authenticationOption As ProfileAuthenticationOption, _ usernameToMatch As String, _ userInactiveSinceDate As DateTime, _ pageIndex As Integer, _ pageSize As Integer, _ <OutAttribute> ByRef totalRecords As Integer _ ) As ProfileInfoCollection |
Visual C++ |
---|
public: virtual ProfileInfoCollection^ FindInactiveProfilesByUserName( ProfileAuthenticationOption authenticationOption, String^ usernameToMatch, DateTime userInactiveSinceDate, 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.
- userInactiveSinceDate
- Type: System..::..DateTime
A DateTime that identifies which user profiles are considered inactive. If the LastActivityDate value of a user profile occurs on or before this date and time, the profile is considered inactive.
- 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.