<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=890112308-14082003><FONT size=2>I'm using this code to try and
get a user's password.</FONT></SPAN></DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2>from AccessControl import
getSecurityManager </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2>request =
context.REQUEST</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2>user =
getSecurityManager().getUser() </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2>curpas =
user._getPassword()</FONT></SPAN></DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2>but this gives me an error
because i can't run a method that has a '_' in it's name.</FONT></SPAN></DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=890112308-14082003><FONT size=2>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 :)</FONT></SPAN></DIV>
<DIV> </DIV></BODY></HTML>