[Zope] Generic User Folder - custom user properties

Michal Bukovjan m_bukovjan@advisbbdo.cz
Thu, 20 Apr 2000 14:50:34 +0200


Hmm, it looks like I found a solution.
I use FSSession product, and upon a successful login, I set the 'user_id'
session variable.

Thanks for the help,

Michal Bukovjan

Stuart 'Zen' Bishop wrote:

> On Tue, 18 Apr 2000, Michal Bukovjan wrote:
>
> > My question is, if it is possible (so that I can then call
> > "AUTHENTICATED_USER.getProperty('user_id')") and at which point of
> > Generic User Folder/authentication process I should assign the property
> > value?
>
> Not yet. This is one of the design goals of the LoginManager product
> currently being developed.
>
> > Is there an easy way?
>
> The best you can do is to create a method called user_id (possibly
> accepting a user object as an argument) which returns the correct value.
>
> --
>  ___
>    //     Zen (alias Stuart Bishop)     Work: zen@cs.rmit.edu.au
>   // E N  Senior Systems Alchemist      Play: zen@shangri-la.dropbear.id.au
>  //__     Computer Science, RMIT         WWW: http://www.cs.rmit.edu.au/~zen
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )