zimbra-api / soap-api

Zimbra SOAP client in PHP language
BSD 3-Clause "New" or "Revised" License
62 stars 48 forks source link

How to add owner of Distribution LIst #58

Closed mozzar closed 1 year ago

mozzar commented 1 year ago

I can't find how could add/set owner of the distribution list. To add a distribution list user I'm using $api->addDistributionListMember($zimbra_id, ['user1@test.com'...]) Can I get Your support?

nguyennv commented 1 year ago

you can use $api->grantRight by setting grp, $zimbra_id to GranteeSelector & ownDistList to RightModifierInfo

mozzar commented 1 year ago

thank you!