[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_membership.py:1.7.8.2

Yvo Schubbe schubbe at web.de
Tue Sep 9 10:08:36 EDT 2003


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv15636/CMFCore/interfaces

Modified Files:
      Tag: yuppie-deleteMembers-branch
	portal_membership.py 
Log Message:
added deleteMemberArea and deleteMembers methods

=== CMF/CMFCore/interfaces/portal_membership.py 1.7.8.1 => 1.7.8.2 ===
--- CMF/CMFCore/interfaces/portal_membership.py:1.7.8.1	Tue Sep  9 08:07:23 2003
+++ CMF/CMFCore/interfaces/portal_membership.py	Tue Sep  9 09:08:05 2003
@@ -126,6 +126,19 @@
         Permission -- Python only
         """
 
+    def deleteMembers(member_ids, delete_memberareas=1, delete_localroles=1):
+        """ Delete members specified by member_ids.
+
+        Delete members in acl_users and member data in portal_memberdata.
+        If delete_memberareas is true, delete members' home folders including
+        all content items. If delete_localroles is true, recursively delete
+        members' local roles, starting from the portal root.
+
+        Permission -- Manage users
+
+        Returns -- Tuple listing member_ids of deleted members
+        """
+
     def getPortalRoles():
         """
         Return all local roles defined by the portal itself,
@@ -177,4 +190,12 @@
         Permission -- Always available
 
         Returns -- created member folder object or None
+        """
+
+    def deleteMemberArea(member_id):
+        """ Delete member area of member specified by member_id.
+
+        Permission -- Manage users
+
+        Returns -- Boolean value
         """




More information about the CMF-checkins mailing list