[Zope] How to know which user is seeing a page?
Michel Pelletier
michel@digicool.com
Fri, 7 May 1999 10:43:54 -0400
> -----Original Message-----
> From: Dmitry B. Khlonin [mailto:khl@paloma.spbu.ru]
> Sent: Thursday, May 06, 1999 1:14 PM
> To: zope@zope.org
> Subject: Re: [Zope] How to know which user is seeing a page?
>
>
> > I've developed an external method in the private part of my zope
> >site to do a job, but I need a log of who called it.
> > My Q: is any way that I could know the name(login) of
> the user that
> >is accessing to a zope object?
>
>
> I agree with this question.
> And have else one question - How I could know the password of user
> that accessing "index_html"?
>
The password is not accessable from DTML, you must use an external
method and pass in the User object AUTHENTICATED_USER. The password
then would be gotten with AUTHENTICATED_USER._getPassword()
-Michel
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>