Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IProfileProvider.GetNumberOfInactiveProfiles Method

When overridden in a derived class, returns the number of profiles in which the last activity date occurred on or before the specified date.

[Visual Basic]
Public Sub GetNumberOfInactiveProfiles( _
   ByVal authenticationOption As ProfileAuthenticationOption, _
   ByVal userInactiveSinceDate As Date _
)
[C#]
int GetNumberOfInactiveProfiles(
   ProfileAuthenticationOption authenticationOption,
   DateTime userInactiveSinceDate
);

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.

Return Value

The number of profiles in which the last activity date occurred on or before the specified date.

See Also

IProfileProvider Interface | Spring.Web.Providers Namespace