[Zope] get user password

ijsman ijsman77 at hotmail.com
Thu Aug 14 11:25:45 EDT 2003


I'm using this code to try and get a user's password.
 
from AccessControl import getSecurityManager 
 
request = context.REQUEST
 
user = getSecurityManager().getUser() 
 
curpas = user._getPassword()
 
but this gives me an error because i can't run a method that has a '_'
in it's name.
 
How do i then get a user's password? It would be nice to be able to mail
people's password if they forget it :)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope/attachments/20030814/26893fe1/attachment.htm


More information about the Zope mailing list