DefaultProfileProvider.FindInactiveProfilesByUserName Method (ProfileAuthenticationOption, String, DateTime, Int32, Int32, Int32)

 

Returns inactive profiles by username.

Namespace:   System.Web.Providers
Assembly:  System.Web.Providers (in System.Web.Providers.dll)

Syntax

public override ProfileInfoCollection FindInactiveProfilesByUserName(
    ProfileAuthenticationOption authenticationOption,
    string usernameToMatch,
    DateTime userInactiveSinceDate,
    int pageIndex,
    int pageSize,
    out int totalRecords
)
public:
virtual ProfileInfoCollection^ FindInactiveProfilesByUserName(
    ProfileAuthenticationOption authenticationOption,
    String^ usernameToMatch,
    DateTime userInactiveSinceDate,
    int pageIndex,
    int pageSize,
    [OutAttribute] int% totalRecords
) override
override FindInactiveProfilesByUserName : 
        authenticationOption:ProfileAuthenticationOption *
        usernameToMatch:string *
        userInactiveSinceDate:DateTime *
        pageIndex:int *
        pageSize:int *
        totalRecords:int byref -> ProfileInfoCollection
Public Overrides Function FindInactiveProfilesByUserName (
    authenticationOption As ProfileAuthenticationOption,
    usernameToMatch As String,
    userInactiveSinceDate As Date,
    pageIndex As Integer,
    pageSize As Integer,
    <OutAttribute> ByRef totalRecords As Integer
) As ProfileInfoCollection

Parameters

  • userInactiveSinceDate
    Type: System.DateTime

    The date since the user is inactive.

  • totalRecords
    Type: System.Int32

    The total records of inactive profiles.

Return Value

Type: System.Web.Profile.ProfileInfoCollection

The inactive profiles.

See Also

DefaultProfileProvider Class
System.Web.Providers Namespace
ASP.NET Identity

Return to top