PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
When overridden in a derived class, deletes all user-profile data for profiles in which the last activity date occurred before the specified date.

Namespace: Smartsite.Core
Assembly:  Smartsite.Runtime (in Smartsite.Runtime.dll)

Syntax

C#Copy imageCopy Code
public override int DeleteInactiveProfiles(
	 authenticationOption,
	 userInactiveSinceDate
)
Visual Basic (Declaration)Copy imageCopy Code
Public Overrides Function DeleteInactiveProfiles ( _
	authenticationOption As , _
	userInactiveSinceDate As  _
) As Integer

Parameters

authenticationOption
ProfileAuthenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are deleted.
userInactiveSinceDate
DateTime
A DateTime that identifies which user profiles are considered inactive. If the LastActivityDate value of a user profile occurs on or before this date and time, the profile is considered inactive.

Return Value

The number of profiles deleted from the data source.

See Also

Advanced