Re: [Zope-dev] LoginManager question

2001-03-28 Thread Bertrand Croq
Phillip J. Eby wrote : > Get rid of the "id_user" DTML method and add the following > to a SkinScript method inside your UserSource: > > WITH QUERY SQL_id_user(username=self.id) COMPUTE id_user > > You should then be able to do "AUTHENTICATED_USER.id_user" to retrieve the > attribute. I had to up

Re: [Zope-dev] LoginManager question

2001-03-27 Thread Phillip J. Eby
At 12:19 PM 3/27/01 +0200, Bertrand Croq wrote: >Hi, > I am currently using LoginManager to authenticate users from a MySQL >database. I followed the tutorials and it works quite well; but there are >other data associated with users in the database that I would like to use in >Zope. I have fou

[Zope-dev] LoginManager question

2001-03-27 Thread Bertrand Croq
Hi, I am currently using LoginManager to authenticate users from a MySQL database. I followed the tutorials and it works quite well; but there are other data associated with users in the database that I would like to use in Zope. I have found a solution but I think it is quite complicated: -