Re-posted - How to delete users in Membership product with Persistent User Source
Hi, Has anyone been able to use the delUserForm to delete users added within a PersistentUserSource in the PortalMembershipSystem object ? I am not sure if this piece of code in delUserForm preceding the HTML form snippet does the right job: <dtml-let idList="[]"> <dtml-in "UserSource.getPersistentItemIDs()" sort> <dtml-call "idList.append(getItem(_['sequence-item']))"> </dtml-in> <dtml-in idList sort=Importance reverse> ... I can view the users but when I click on the form button to delete some users, I get I get Error Type: NotFound Error Value: None In the view I get, the user url points to .../acl_users/userid (for example /acl_users/david) and cannot be used to check the user object. Thanks for any usefull answer. Regards, Kamon __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Kamon Ayeva wrote:
Hi,
Has anyone been able to use the delUserForm to delete users added within a PersistentUserSource in the PortalMembershipSystem object ?
Yes, quite frequently.
I am not sure if this piece of code in delUserForm preceding the HTML form snippet does the right job:
<dtml-let idList="[]"> <dtml-in "UserSource.getPersistentItemIDs()" sort> <dtml-call "idList.append(getItem(_['sequence-item']))"> </dtml-in>
<dtml-in idList sort=Importance reverse> ...
I can view the users but when I click on the form button to delete some users, I get
I get
Error Type: NotFound Error Value: None
What platform? What Zope version? What version of each related/required product? Is SiteAcces Installed? If So, what version?
participants (2)
-
Bill Anderson -
Kamon Ayeva