1 ##parameters=object=None
4 roles
= context
.valid_roles()
12 for member
in object.getAllMembersInRole(role
) :
13 if (member
.id not in recipientIds
) and member
.getProperty('email') :
14 membersInRole
.append(member
)
15 recipientIds
.append(member
.id)
17 rolesAndMembers
.append( (role
, membersInRole
) )
19 return rolesAndMembers