Save the last login in object - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Save the last login in object (/showthread.php?tid=4025) |
Save the last login in object - Fahd - 28.04.2022 Hi, I want to display the date/time of the user when of his last logged into the LM5, For example, I've 5 users User 1 : date/time (virtual object) User 2 : date/time (virtual object) .... So, I want a script that could write the date/time in a virtual object of each user. Is it possible? Thanks in advance RE: Save the last login in object - admin - 29.04.2022 Create a scheduled script that runs as often as you want this data to be updated. Object type should be 250 byte string. Users are referenced by their login. Code: items = db:getall([[ RE: Save the last login in object - Fahd - 29.04.2022 (29.04.2022, 11:15)admin Wrote: Create a scheduled script that runs as often as you want this data to be updated. Object type should be 250 byte string. Users are referenced by their login.Your support is just amazing guys, THANKS A MILLION |