[Zope] datatype-lines

Dieter Maurer dieter@handshake.de
Tue, 17 Jun 2003 19:51:18 +0200


Sridevi Vanka wrote at 2003-6-17 06:29 -0700:
 > ...
 > Could some one tell me how to enter userids into the "lines" using
 > python

That's usually done automatically (via "manage_changeProperties").
(search for it, when you do not know how).

 > and later check if the userid is existing or not?

If "user" is your user object (this is the user variable
when you use ZPT which is recommended) and "here" the
object having the line property, then you can use
"user.getUserName() in here.lineProperty".


Dieter