1 ##parameters=groupId, remove_members=[], ajax='', REQUEST=None
2 groupsTool
= context
.portal_groups
3 group
= groupsTool
.getGroupById(groupId
)
5 for memberId
in remove_members
:
6 group
.removeMember(memberId
)
7 if REQUEST
is not None :
8 return context
.REQUEST
. RESPONSE
.redirect('%s/groups_members?group=%s&ajax=%s#assign_members' % (context
.portal_url(), groupId
, ajax
))