[Zope] Logon process

Andrew Milton akm at theinternet.com.au
Sat Jul 7 05:26:13 EDT 2007


+-------[ Garito ]----------------------
| How can I change the user programatically?
| Can I?
| 
| The process will be the same in acl_users, cookieCrumbler, ExUserFolder, isn't
| it?
| 
| for example: acl_users.authenticate(user_name, password)
| 
| Is this possible?
| 
| That's my original need, but I'm not so sure if I ask properly, sorry

That is exactly how to do it with exUserFolder.
It will return a new user object, or None if the authentication failed.

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list