Re: [Zope] ---> CAN ANYONE PLEASE HELP?? (DTML QUESTION) <----
Thanks but this did not work either - is GetPassword a built in Zope method or one that your have created yourself??
From: Daniel Rusch <drusch@globalcrossing.com> To: Samantha Stansbie <s_stansbie@hotmail.com> CC: zope@zope.org Subject: Re: [Zope] ---> CAN ANYONE PLEASE HELP?? (DTML QUESTION) <---- Date: Wed, 04 Apr 2001 15:37:13 -0500
This is how I change (edit a user) try this except of course change the 'Change' to 'Delete'
Dan
<dtml-call "REQUEST.set('name', login_name)"> <dtml-call "REQUEST.set('password', GetPassword(acl_users.getUser(login_name)))"> <dtml-call "REQUEST.set('confirm', password)"> <dtml-call "REQUEST.set('roles', roles)"> <dtml-call "acl_users.manage_users(submit='Change', REQUEST=REQUEST)"> ^^^^ This needs to be 'Delete'
Dan
Samantha Stansbie wrote:
Hi,
Can anyone help me? I am trying to delete users from acl_users through
DTML
but can't get it to work, I'm using the following DTML:
<dtml-call "REQUEST.set('name', usernm)"> <dtml-call "REQUEST.set('submit', 'Delete')"> <dtml-call "acl_users.manage_users('Delete',REQUEST,RESPONSE)">
I don't even get any error messages!
Thanks in advance
Sam
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________ 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 )
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Thanks but this did not work either - is GetPassword a built in Zope method or one that your have created yourself??
This is not available from DTML try: /acl_users/manage_users?names:list=username&submit=Delete in which username is the name of the user you want to delete Incidentally, using more meaningful subjects will likely get you more help than something as generic as this subject hth Rik
participants (2)
-
Rik Hoekstra -
Samantha Stansbie