---> CAN ANYONE PLEASE HELP?? (DTML QUESTION) <----
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.
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 )
participants (2)
-
Daniel Rusch -
Samantha Stansbie