[Setup] Best way to get the intersection of (2) groups

Bastien Gauthier gbastien at commune.sambreville.be
Thu Mar 17 13:36:36 UTC 2011


Re Denis ;-)

Depending on your usecase, look at the "set" in python.

If you are playing with the ids of your groups, look at the function 'intersection'

+++

BASTIEN Gauthier
Service Informatique - Administration Communale de Sambreville
071/260.247
http://www.sambreville.be
 

>-----Message d'origine-----
>De : setup-bounces at lists.plone.org 
>[mailto:setup-bounces at lists.plone.org] De la part de Denis Bitouzé
>Envoyé : jeudi 17 mars 2011 14:18
>À : setup at lists.plone.org
>Objet : [Setup] Best way to get the intersection of (2) groups
>
>Hi,
>
>is there a better way than loops to get the intersection of (2) groups?
>
>Thanks.
>--
>Denis
>_______________________________________________
>Setup mailing list
>Setup at lists.plone.org
>https://lists.plone.org/mailman/listinfo/setup
>


More information about the Setup mailing list