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 _
)
[C#]
ProfileInfoCollection GetAllInactiveProfiles(
   ProfileAuthenticationOption authenticationOption,
   DateTime userInactiveSinceDate,
   int pageIndex,
   int pageSize,
   out int totalRecords
);

Parameters

authenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
userInactiveSinceDate
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.
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 ProfileInfoCollection containing user-profile information about the inactive profiles.

See Also

IProfileProvider Interface | Spring.Web.Providers Namespace