[Zope] manage_users( ) method

Mohan Baro mcbaro@uwimona.edu.jm
Tue, 2 Jan 2001 09:41:14 -0500


Happy new year everyone, all the best.

Question:
Where can I get the specifications for acl_users.manage_users()?

Mohan.


-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kyler
B. Laird
Sent: Monday, January 01, 2001 4:29 PM
To: zope@zope.org
Subject: [Zope] terrible kludge to set password



I was unsuccessful at finding any examples of
changing a user's password from DTML, but I
did see a few requests for such functionality.
I bumped around quite awhile today trying to
figure out how to do it.  I didn't come up
with a good way, but I did find something that
works.

So, although it's terribly ugly, I thought I'd
throw my example out.  Perhaps it'll save
someone else some time.
	<dtml-call "REQUEST.set('name', 'k.laird.1')">
	<dtml-call "REQUEST.set('password', '5678')">
	<dtml-call "REQUEST.set('confirm', '5678')">
	<dtml-call "REQUEST.set('roles', ['CRUP_admin'])">
	<dtml-call "acl_users.manage_users('Change', REQUEST, RESPONSE)">

--kyler

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )