<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to find users last login time stamp?</title><link>https://community.appian.com/discussions/f/process/8310/how-to-find-users-last-login-time-stamp</link><description>#ProcessModeling ~~~Appian 7.6~~~~ Hello, How to find users last login time stamp? As per the requirement ‘if user doesn’t login to Appian application for 30 days, system needs to send email notification informing user that the account will be deactivated</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/57466?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 11:07:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c74c581e-f710-4f05-8e0f-cdef36c99761</guid><dc:creator>dipaki</dc:creator><description>Hi &lt;a href="/members/anamikav"&gt;anamikav&lt;/a&gt;, &lt;br /&gt;
If you found the way to determine user&amp;#39;s last access date on application level, it will be relay helpful if you can share the approach. Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/48858?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 13:39:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:641651fd-99f6-4f4c-b5dd-41447c8e1200</guid><dc:creator>Smruti Swain</dc:creator><description>Hi Anamika,&lt;br /&gt;
You could find the details from the &amp;quot;Logins&amp;quot; Audit log under &amp;lt;APPIAN_HOME&amp;gt;/logs/login-audit-web-api.csv&lt;br /&gt;
The column &amp;quot;Timestamp&amp;quot; is what you are looking for, it is in the format  yyyy-mm-dd hh:mm:ss (the millisecond part is not captured in there).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/48333?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 12:27:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7963439-d46a-4a69-a217-73e0ea20ed7e</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>The log file stores all users login data. To filter out your application level users, you can get the members of your application&amp;#39;s all user group. Eg. ABC All Users. And get intersection of all users and application all users. To the resulting set of users you can send out an email upon 30 days of in-activeness.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/48332?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 12:02:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:587393a8-013c-4266-aa3b-9acb6f68d5c7</guid><dc:creator>sureshg57</dc:creator><description>Hi &lt;a href="/members/anamikav"&gt;anamikav&lt;/a&gt; ,&lt;br /&gt;
&lt;br /&gt;
As a sustainable solution I would say it is much better or easier to read the log file and store it in your DB and use a mechanism to check the users who has not logged in to system for the specified day and notify them and deactivate them. We have similar kind of requirement and we have adopted this approach because this will put lot more less strain on system and easy to maintain and do not have issues where when we need to zip out log files to reduce memory and so on.etc.&lt;br /&gt;
&lt;br /&gt;
You can read each login audit file form previous day and directly write to DB. You should have a clean up mechanism to tables to delete older data so house keeping is done. you can have another process to check for users how have not logged in to system and send notification and later deactivate. If you have a huge user base and just using a function to check a single user last date would user lot of system resources and will be a very slow process. &lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Suresh&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/48331?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 08:07:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8fa07185-def1-4882-b1de-94bd0a82a755</guid><dc:creator>Rama Thummala</dc:creator><description>&lt;p&gt;&lt;a href="/members/anamikav"&gt;anamikav&lt;/a&gt;&amp;nbsp;, Please use the shared component&amp;nbsp;&lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUh-6hLnOvBK7gQIigalvV8BBypSnAhHOUCA/view/summary"&gt;getuserlastlogin&lt;/a&gt;&amp;nbsp;. It will return user&amp;#39;s last login date and time. With this info you can send mail if it is 30 days.&lt;/p&gt;
&lt;p&gt;This would help you...!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/48330?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 07:31:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f47ae0d9-571f-4cd9-bed7-54b335533fb6</guid><dc:creator>annap</dc:creator><description>This will help you,&lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUh-6hLnOvBK7gQIigalvV8BBypSnAhHOUCA/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/37104?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 16:50:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8aea9d5a-4e03-444b-873b-da61de388d28</guid><dc:creator>annap</dc:creator><description>@anamikav:  you can achieve this by using login-audit.csv as it contains Timestamp,Username,Status,IP,Source,User Agent information of whoever loged in to that application. You can fetch your users in this file within 30 days timeperiod and if your is absent then send mail accordingly.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/36403?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 22:23:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ddf4e3df-bde4-4456-868c-6dace952100d</guid><dc:creator>anamikav</dc:creator><description>Thanks sikhivahans!&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/36376?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 13:31:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5407a083-22de-4bcb-b6cd-9bc10aebceb2</guid><dc:creator>harshav</dc:creator><description>Yes I do agree sikhivahans, I was suggesting It for Appian Instance Level not for any application level, thanks for that sikhi :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/36369?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 05:07:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb477d18-cb82-4038-9a48-a90cc0c900c4</guid><dc:creator>sikhivahans</dc:creator><description>@anamika I don't think you would be able to do it by reading the contents of login-audit.csv as mentioned above because afaik it records the login information considering the entire Appian instance but not any applications that reside in it.&lt;br /&gt;&lt;br /&gt;Opting for the approach mentioned above by @harshav means that you are deactivating the user by checking his logins at the Appian instance level but not at the application level.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/36361?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 19:42:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a054488d-4925-4572-a2ce-c65bcb49f6b4</guid><dc:creator>anamikav</dc:creator><description>Thank you Harshav!&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/36359?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 19:22:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34d1c92e-09ed-4b09-8955-21bb352a1a94</guid><dc:creator>harshav</dc:creator><description>Please refer the below link if you haven&amp;#39;t &lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/16.2/Logging.html#Logins"&gt;forum.appian.com/.../Logging.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find users last login time stamp?</title><link>https://community.appian.com/thread/36358?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 19:20:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:19b970a1-7814-4898-af42-2eb2314feb9e</guid><dc:creator>harshav</dc:creator><description>you can get the details in Login audit.csv file in the server, If you could read the csv file from the server you can get the Last login timestamp and deactivate the user.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>