IProfileProvider.GetAllInactiveProfiles Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IProfileProvider.GetAllInactiveProfiles Method

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.

[Visual Basic]
Public Sub GetAllInactiveProfiles( _
   ByVal authenticationOption As ProfileAuthenticationOption, _
   ByVal userInactiveSinceDate As Date, _
   ByVal pageIndex As Integer, _
   ByVal pageSize As Integer, _
   ByRef totalRecords As Integer _
ProfileInfoCollection GetAllInactiveProfiles(
   ProfileAuthenticationOption authenticationOption,
   DateTime userInactiveSinceDate,
   int pageIndex,
   int pageSize,
   out int totalRecords


One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
A DateTime that identifies which user profiles are considered inactive. If the 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.

Return Value

A ProfileInfoCollection containing user-profile information about the inactive profiles.

See Also

IProfileProvider Interface | Spring.Web.Providers Namespace