[Plone-UI] Group Membership from script

thaynej thaynecj at gmail.com
Thu Jan 22 15:35:15 UTC 2009

For Plone v 2.5 -

I'm trying to add a member to a group from within a script.  I tried this:

          sub_group = pg.getGroupById("Subscribers")
          sub_group.addMember(userName, member)

The addMember method throws an unauthorized exception.  The script does have
manager proxy.

What is the correct way to do this?
View this message in context: http://n2.nabble.com/Group-Membership-from-script-tp2198378p2198378.html
Sent from the User Interface & Design mailing list archive at Nabble.com.

More information about the UI mailing list