Hi,
I tried to set OwnerGroupRight to null or to set RightID to 0 but it does not work.
Thanks,
Richard.
It looks like groupOwnerRight.setRightID(-3); works.
Can you please confirm?
Hi Richard,
There is already a feature request for being able to properly remove owner/owner group/public access rights with web services. This is likely to be scheduled to be put into the update 4 cumulative patch (released at the end of September I believe).
But as you have found you can currently get around this (ie. by setting the rightID to -3). I believe something like this will work for owner and owner group rights, however, I don't think you can do this for public access rights. The original specification was to only allow removal of assigned user rights using the DocumentManagment.RemoveNodeRight() call.
So I wouldn't recommend you use this to remove owner group rights as I can't guarantee it will continue to work in the future. But there are plans to add better support for this.
Jason