<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get Last login datetime of user in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496577#M40770</link>
    <description>&lt;P&gt;Hi, you need to activate audit. See &lt;A href="https://support.hyland.com/r/Alfresco/Alfresco-Content-Services-Community-Edition/25.3/Alfresco-Content-Services-Community-Edition/Administer/Manage-Security/Auditing" target="_blank" rel="noopener"&gt;docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I once created an audit application configuration for that, I'm not sure it's still correct, but you can use it as a base&lt;/P&gt;
&lt;PRE&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;Audit&lt;BR /&gt;xmlns="http://www.alfresco.org/repo/audit/model/3.2"&lt;BR /&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;BR /&gt;xsi:schemaLocation="http://www.alfresco.org/repo/audit/model/3.2 alfresco-audit-3.2.xsd"&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;DataGenerators&amp;gt;&lt;BR /&gt;&amp;lt;DataGenerator name="currentUser" registeredName="auditModel.generator.user"/&amp;gt;&lt;BR /&gt;&amp;lt;/DataGenerators&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;PathMappings&amp;gt;&lt;BR /&gt;&amp;lt;!-- AlfrescoNTLM logins &amp;amp; REST with Basic Auth (REST calls with ticket does not create a login) --&amp;gt;&lt;BR /&gt;&amp;lt;PathMap source="/alfresco-api/post/AuthenticationService/authenticate/no-error" target="/audit-basic-logins/login"/&amp;gt;&lt;BR /&gt;&amp;lt;!-- LDAP Logins --&amp;gt;&lt;BR /&gt;&amp;lt;PathMap source="/alfresco-api/post/ticketComponent/validateTicket" target="/audit-basic-logins/login"/&amp;gt;&lt;BR /&gt;&amp;lt;!-- Kerberos --&amp;gt;&lt;BR /&gt;&amp;lt;PathMap source="/alfresco-api/post/AuthenticationService/getCurrentUserName/no-error" target="/audit-basic-logins/login"/&amp;gt;&lt;BR /&gt;&amp;lt;/PathMappings&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;Application name="Audit-Succesfull-Login" key="audit-basic-logins"&amp;gt;&lt;BR /&gt;&amp;lt;AuditPath key="login"&amp;gt;&lt;BR /&gt;&amp;lt;GenerateValue key="user" dataGenerator="currentUser"/&amp;gt;&lt;BR /&gt;&amp;lt;/AuditPath&amp;gt;&lt;BR /&gt;&amp;lt;/Application&amp;gt;&lt;BR /&gt;&amp;lt;/Audit&amp;gt;&lt;/PRE&gt;
&lt;P&gt;There's also this addon&amp;nbsp;&lt;A href="https://github.com/Acosix/alfresco-audit/tree/master" target="_blank" rel="noopener"&gt;https://github.com/Acosix/alfresco-audit/tree/master&lt;/A&gt;&amp;nbsp;that has a customization for generating some info that are not OOTB available&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 17:36:27 GMT</pubDate>
    <dc:creator>LeoMattioli</dc:creator>
    <dc:date>2026-02-23T17:36:27Z</dc:date>
    <item>
      <title>Get Last login datetime of user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496575#M40769</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to record users last login datetime.&lt;/P&gt;&lt;P&gt;Which component I need to override? I am using SSO with Azure so need to consider this in mind before implementing any solution.&lt;/P&gt;&lt;P&gt;Help will appreciate.&lt;/P&gt;&lt;P&gt;&lt;a href="https://connect.hyland.com/t5/user/viewprofilepage/user-id/5286"&gt;@angelborroy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Feb 2026 09:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496575#M40769</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2026-02-21T09:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get Last login datetime of user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496577#M40770</link>
      <description>&lt;P&gt;Hi, you need to activate audit. See &lt;A href="https://support.hyland.com/r/Alfresco/Alfresco-Content-Services-Community-Edition/25.3/Alfresco-Content-Services-Community-Edition/Administer/Manage-Security/Auditing" target="_blank" rel="noopener"&gt;docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I once created an audit application configuration for that, I'm not sure it's still correct, but you can use it as a base&lt;/P&gt;
&lt;PRE&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;Audit&lt;BR /&gt;xmlns="http://www.alfresco.org/repo/audit/model/3.2"&lt;BR /&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;BR /&gt;xsi:schemaLocation="http://www.alfresco.org/repo/audit/model/3.2 alfresco-audit-3.2.xsd"&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;DataGenerators&amp;gt;&lt;BR /&gt;&amp;lt;DataGenerator name="currentUser" registeredName="auditModel.generator.user"/&amp;gt;&lt;BR /&gt;&amp;lt;/DataGenerators&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;PathMappings&amp;gt;&lt;BR /&gt;&amp;lt;!-- AlfrescoNTLM logins &amp;amp; REST with Basic Auth (REST calls with ticket does not create a login) --&amp;gt;&lt;BR /&gt;&amp;lt;PathMap source="/alfresco-api/post/AuthenticationService/authenticate/no-error" target="/audit-basic-logins/login"/&amp;gt;&lt;BR /&gt;&amp;lt;!-- LDAP Logins --&amp;gt;&lt;BR /&gt;&amp;lt;PathMap source="/alfresco-api/post/ticketComponent/validateTicket" target="/audit-basic-logins/login"/&amp;gt;&lt;BR /&gt;&amp;lt;!-- Kerberos --&amp;gt;&lt;BR /&gt;&amp;lt;PathMap source="/alfresco-api/post/AuthenticationService/getCurrentUserName/no-error" target="/audit-basic-logins/login"/&amp;gt;&lt;BR /&gt;&amp;lt;/PathMappings&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;Application name="Audit-Succesfull-Login" key="audit-basic-logins"&amp;gt;&lt;BR /&gt;&amp;lt;AuditPath key="login"&amp;gt;&lt;BR /&gt;&amp;lt;GenerateValue key="user" dataGenerator="currentUser"/&amp;gt;&lt;BR /&gt;&amp;lt;/AuditPath&amp;gt;&lt;BR /&gt;&amp;lt;/Application&amp;gt;&lt;BR /&gt;&amp;lt;/Audit&amp;gt;&lt;/PRE&gt;
&lt;P&gt;There's also this addon&amp;nbsp;&lt;A href="https://github.com/Acosix/alfresco-audit/tree/master" target="_blank" rel="noopener"&gt;https://github.com/Acosix/alfresco-audit/tree/master&lt;/A&gt;&amp;nbsp;that has a customization for generating some info that are not OOTB available&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 17:36:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496577#M40770</guid>
      <dc:creator>LeoMattioli</dc:creator>
      <dc:date>2026-02-23T17:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get Last login datetime of user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496593#M40773</link>
      <description>&lt;P&gt;Great reply Leo!&lt;BR /&gt;I just fixed your link at the bottom.&amp;nbsp; It had a comma at the end of it.&lt;BR /&gt;Cheers!&lt;BR /&gt;Alan&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 17:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-last-login-datetime-of-user/m-p/496593#M40773</guid>
      <dc:creator>Alan_Boucher</dc:creator>
      <dc:date>2026-02-23T17:38:04Z</dc:date>
    </item>
  </channel>
</rss>

