Hi All,
I am Trying to Fetch Last login Details of some users by using getuserlastlogin() but it is returning Null values for users who logged in 1 week before.
Does This function work only for last 24 Hrs?
Thanks in Advance!!
Discussion posts and replies are publicly visible
I checked with our environment and the getuserlastlogin() for several users and the function returns the result if the user last log-in happened on the current day.Also in the app market, One of the users mentioned the same in the comments. please refer to the below link.https://community.appian.com/b/appmarket/posts/user-login-detailsso the conclusion is, The getuserlastlogin() won't work later than the current day.
Maybe you can try the below plugin,https://community.appian.com/b/appmarket/posts/get-last-successful-login-detailsThe expression rule "getlastlogindatetime" from the above plugin returns the last login date and timestamp from the past 30 days. If the user logged in 30 days before, The rule will return null.
Thanks
Hi karthikr1237,
Could you please let me know the approach if we need to get users list whose last login date is one year before?