[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cmf
Subject:    Re: [Zope-CMF] removing portal members
From:       Tres Seaver <tseaver () zope ! com>
Date:       2002-06-27 12:41:27
[Download RAW message or body]

On Wed, 2002-06-26 at 11:07, Bryan C. Andregg wrote:
> I've searched the web and the archives and the best that I've found is some
> veiled reference to delMembers which doesn't appear in 1.2 or the 1.3beta1.
> 
> How does one remove portal members (they don't have member folders)?

Write a script which:

  - Removes them from the user folder (some user folders use different
    APIs for this);

  - Zaps their entries in the 'portal_memberdata' tool, e.g.::

      mdt = getToolByName( self, 'portal_memberdata' )
      mdt.pruneMemberDataContents()

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic