[Zope] Code forgetting the password for a user out of in acl_users
Dieter Maurer
dieter@handshake.de
Wed, 1 Jan 2003 20:55:39 +0100
F. Troester wrote at 2002-12-31 21:09 +0100:
> is there the posibility to get the password of a user with "userid", if
> there is known the userfolder "acl" ?
> It could be a function like getPWD(acl, userid).
You can use "_getPassword". It's a method of the "User" object.
As the leading "_" indicates, this method can only by used from
file system based code ("External Method", "Python Product").
You use the method "getUser" (of a "UserFolder") to get the user object
given its name. This method requires the "Manage users" permission.
Dieter