Table of Contents

Class LoginLogCleanupScheduledTaskAddIn

Namespace
Dynamicweb.Security.UserManagement.ScheduledTaskAddIns
Assembly
Dynamicweb.Core.dll

Deletes login log entries older than a configurable number of days.

[AddInName("Extensibility.ScheduledTaskAddins.LoginLogCleanup")]
[AddInLabel("Clean up login log")]
[AddInDescription("Deletes login log entries older than the configured number of days")]
public class LoginLogCleanupScheduledTaskAddIn : BaseScheduledTaskAddIn
Inheritance
LoginLogCleanupScheduledTaskAddIn
Inherited Members

Properties

RetentionDays

Gets or sets the number of days of login log history to keep. Entries older than this are deleted.

[AddInLabel("Retention (days)")]
[AddInParameter("RetentionDays")]
[AddInParameterEditor(typeof(IntegerNumberParameterEditor), "minValue=1")]
public string RetentionDays { get; set; }

Property Value

string

Methods

Run()

Runs the cleanup, deleting login log entries older than RetentionDays days.

public override bool Run()

Returns

bool
To top