[Zope] Generic User Folder - custom user properties

Stuart 'Zen' Bishop zen@cs.rmit.edu.au
Thu, 20 Apr 2000 20:02:48 +1000 (EST)


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