The CreatorCon Call for Content is officially open! Get started here.

Difference between "Last Login" and "Last Login Time" fields on User Table

chris_corscadde
Kilo Contributor

Does anyone have an idea what the difference is between these two fields are apart from one being a date field and the other being a date time field?  

6 REPLIES 6

Shishir Srivast
Mega Sage

I think, would be the purpose to just have one field with datetime and another with just date, so that can be utilize later in scripting as per the need basis. I think SN is not updating the last login field but can be used to update if required.


VivekSattanatha
Mega Sage

Hi Chris,



we bring both field information from the AD. Both have different meaning in AD



https://msdn.microsoft.com/en-us/library/windows/desktop/ms676824(v=vs.85).aspx


Last-Logon-TimeStamp


This is the time that the user last logged into the domain.



https://msdn.microsoft.com/en-us/library/ms676823(v=vs.85).aspx


Last-Logon attribute


he last-logon attribute is updated ONLY on the domain controller you authenticate to.



Regards,


Vivek