VistaDB 6
VistaDB.Web Namespace / VistaDBProfileProvider Class / GetAllInactiveProfiles Method
One of the System.Web.Profile.ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
A System.DateTime that identifies which user profiles are considered inactive. If the System.Web.Profile.ProfileInfo.LastActivityDate of a user profile occurs on or before this date and time, the profile is considered inactive.
The index of the page of results to return.
The size of the page of results to return.
When this method returns, contains the total number of profiles.


In This Topic
    GetAllInactiveProfiles Method
    In This Topic
    When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function GetAllInactiveProfiles( _
       ByVal authenticationOption As System.Web.Profile.ProfileAuthenticationOption, _
       ByVal userInactiveSinceDate As System.Date, _
       ByVal pageIndex As System.Integer, _
       ByVal pageSize As System.Integer, _
       ByRef totalRecords As System.Integer _
    ) As System.Web.Profile.ProfileInfoCollection
    'Usage
     
    
    Dim instance As VistaDBProfileProvider
    Dim authenticationOption As System.Web.Profile.ProfileAuthenticationOption
    Dim userInactiveSinceDate As System.Date
    Dim pageIndex As System.Integer
    Dim pageSize As System.Integer
    Dim totalRecords As System.Integer
    Dim value As System.Web.Profile.ProfileInfoCollection
     
    value = instance.GetAllInactiveProfiles(authenticationOption, userInactiveSinceDate, pageIndex, pageSize, totalRecords)
    public override System.Web.Profile.ProfileInfoCollection GetAllInactiveProfiles( 
       System.Web.Profile.ProfileAuthenticationOption authenticationOption,
       System.DateTime userInactiveSinceDate,
       System.int pageIndex,
       System.int pageSize,
       out System.int totalRecords
    )

    Parameters

    authenticationOption
    One of the System.Web.Profile.ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
    userInactiveSinceDate
    A System.DateTime that identifies which user profiles are considered inactive. If the System.Web.Profile.ProfileInfo.LastActivityDate of a user profile occurs on or before this date and time, the profile is considered inactive.
    pageIndex
    The index of the page of results to return.
    pageSize
    The size of the page of results to return.
    totalRecords
    When this method returns, contains the total number of profiles.

    Return Value

    A System.Web.Profile.ProfileInfoCollection containing user-profile information about the inactive profiles.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also