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-boun...@lists.plone.org >[mailto:setup-boun...@lists.plone.org] De la part de Denis Bitouzé >Envoyé : jeudi 17 mars 2011 14:18 >À : setup@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@lists.plone.org >https://lists.plone.org/mailman/listinfo/setup > _______________________________________________ Setup mailing list Setup@lists.plone.org https://lists.plone.org/mailman/listinfo/setup