[Zope-CMF] login_time

Raphael Ritz r.ritz@biologie.hu-berlin.de
Wed, 12 Mar 2003 16:58:55 +0100


Magnus Heino wrote:

>Hi.
>
>MemeberDataTool defines two properties, login_time and last_login_time. What 
>are these?
>
to get a handle on the users last login time; every time a user
logs in the login_time is copied to 'last_login_time' and then set to
the current time.

>
>What I want to know, is when the user joined. Is there a way to find out?
>
Not by default but with 'login_time' =='last_login_time' you can check for
first time login (this is done anyway to trigger a password change by 
default)
Just define a custom member property to store the current time when
this happens.

Raphael

>
>  
>