Hi there, I want to use "lines(datatype)" for storing more than one userid. and when a use is logged in I want to check if the userid of the user logged in to the application is there in the "lines". Could some one tell me how to enter userids into the "lines" using python and later check if the userid is existing or not? Thanks, Sridevi Vanka __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
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
participants (2)
-
Dieter Maurer -
Sridevi Vanka