[Zope] ---> CAN ANYONE PLEASE HELP?? (DTML QUESTION) <----

Daniel Rusch drusch@globalcrossing.com
Thu, 05 Apr 2001 10:14:32 -0500


Sorry it is something I made, 
Additionally, upon further testing, although it will change a users data
(if submit ='Change') or add a user (if submit='Add'), it doesn't delete
a user? go figure Zope documentation is incorrect.

Try the other post from Rik:
/acl_users/manage_users?names:list=username&submit=Delete


Dan

Samantha Stansbie wrote:
> 
> 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.