More in this section

Forums / Developing with Sitefinity / last activity date

last activity date

2 posts, 0 answered
  1. Muhammad Saqib
    Muhammad Saqib avatar
    95 posts
    09 Sep 2009
    13 May 2010
    Link to this post
    i have more than 150 users in my sf database. i set all users last activitydate to 3 days old datetime. now when i navigate to site logged in as admin. and when i check last activitydates of all users. i found 17 users lastactivitydate were updated with current datetime. I tried but was unable to figure out.. can any one please help me....
    i tried Sql Profiler but there were toooo many calls , I've gone though many of them but didn't find anything useful.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    13 May 2010
    Link to this post
    Hi Muhammad Saqib,

    MembershipUser.LastActivityDate Property - gets or sets the date and time when the membership user was last authenticated or accessed the application.The LastActivityDate for a user is updated to the current date and time by the CreateUser and ValidateUser methods, and can be updated by some overloads of the GetUser method.  UpdateUser method sets the LastActivityDate property to a specific date and time.

    The LastActivityDate is used to determine whether a user is online. A user is considered online if the current date and time minus the UserIsOnlineTimeWindow property value is earlier than the LastActivityDate for the user.

    The SqlMembershipProvider sets the CreationDate, LastLoginDate, LastActivityDate, and LastPasswordChangedDate date to the same date and time when a membership user is created by the CreateUser method.

    These users has accessed the application or the value has been altered by any code.

    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered