cancel
Showing results for 
Search instead for 
Did you mean: 

get last login?

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hi!  Does anyone know of a way to get "last login" on a user?  You see, for the workflow, the business group wants the email to go out… but then if the person hasn't signed on to do the task they've been assigned to, they want an email to be sent to the person every day until they complete the task.  Funny, but true.  So I need to figure out how to do this… thinking I need to go the "last login" route.  Any ideas?
8 REPLIES 8

mrogers
Star Contributor
Star Contributor
Several ideas.  Including what a strange requirement, it will drive your users bonkers and what about weekends or public holidays?

ideas:
a) use audit to see when the workflow's assignee last logged on.
b) Have some sort of "I've seen you, now shut up" workflow state that prevents nagging for 24 hours.
c) Just send a single nagging summary email for every outstanding task regardless of whether they logged in yesterday.

gmahesh
Champ in-the-making
Champ in-the-making
Hi, How to track IP Address of client(for sake of some actions like Downloading, Viewing) while auditing in alfresco.

Please suggest me the pointer to move on…

hsohaib
Champ on-the-rise
Champ on-the-rise
There could be better solutions for your problem, but for now you could try this :

1) extend the contentModel, add a property or aspect "lastLogin" of type date to "Person".
2) Customize the "LoginBean" as explained in the wiki : http://wiki.alfresco.com/wiki/Customising_The_Login_Page , but instead of logging update the property "lastLogin" of the current user.

This way you will be able to tell when was the last time a user loged into his account at Alfresco.
hope it helps

lucille_arkenst
Champ in-the-making
Champ in-the-making
Thank you both very much.  I like the idea of extending the contentModel and updating lastLogin field.  From there I can have a cron job run.  And it is a good idea to have a "I've seen you, now go away" mechanism.  I did suggest to the business unit that we not implement the nag-feature, but since they insisted I can always implement it and then turn it off if they complain.

Mrogers, where can I find information on "audit"?  (I see somebody else on the forum is also interested: http://forums.alfresco.com/en/viewtopic.php?f=7&p=81610.)  If it isn't too much to ask, would you be so kind as to post a link?

Thank you.

nirvanvjain
Champ on-the-rise
Champ on-the-rise
Dear Alfresco Team,

How Alfresco has implemented this Last login feature in this forum ? As when we go to control panel and in overview or profile (not sure where exactly) but in control panel it shows Last Accessed time and date.

Please guide and help.

Thanks!
-Nirvan

mikeh
Star Contributor
Star Contributor
Dear Alfresco Team,

How Alfresco has implemented this Last login feature in this forum ? As when we go to control panel and in overview or profile (not sure where exactly) but in control panel it shows Last Accessed time and date.

Please guide and help.

Thanks!
-Nirvan
It's a standard phpBB feature, nothing to do with Alfresco.

Mike

nirvanvjain
Champ on-the-rise
Champ on-the-rise
Dear All,

Is there any integration document/link available for PHPbb and Alfresco ?

Thanks!
-Nirvan

nirvanvjain
Champ on-the-rise
Champ on-the-rise
Dear Friend,

I want my last login of my ALRESCO [In Alfresco SHARE].

Tell you in depth that What I want is :- Just when I successfully login in to my account (in ALFRESCO) then at login page (on my Dashboard) I want my Last Successful/Unsuccessful Login IP Address.

Please help you if you have any idea about how to or Where to get the Last Login information in Alfresco.

Thanks!
-Nirvan