User statistics

In Sitefinity CMS, statistics can be persisted for some of the actions of the users. This done through the Telerik.Sitefinity.Security.Model.User object. The statistics can be easily accessed by its properties. If you use the built-in user-related controls (such as the Login control), the statistics get updated automatically. If you use your custom user-related controls, you must manually update the statistics by changing the values of the respective properties.

Password statistics

The following properties of the User object expose password related statistics:

  • LastPasswordChangeDate
    Gets or sets the date of the last password change.
  • FailedPasswordAttemptCount
    Gets or sets the count of login attempts that failed due to incorrect password.
  • FailedPasswordAnswerAttemptCount
    Gets or sets the count of login attempts that failed due to incorrect answer to the secret question.

Activity statistics

The following properties of the User object expose activity related statistics:

  • LastActivityDate
    Gets or sets the date, when the user was last active.
  • LastLockoutDate
    Gets or sets the date of the last lockout of the user.
  • LastLoginDate
    Gets or sets the date of the last login of the user.
  • LastLoginIp
    Gets or sets the IP of the last login of the user.
  • IsLoggedIn
    Indicate whether the user is currently logged in.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Password format