shareWithGroups

Shares this portal item with the specified portal groups. This method is only available to authenticated users. The portal groups are added to the existing set of portal groups the item is shared with. The result of this method is an unmodifiable collection of portal groups, one for each group with which the item could not be shared. It is empty if all groups were shared with successfully. It is not necessary to load the PortalGroup objects that are passed to this method.

Return

a Result with a collection of PortalGroup objects with which the item was not shared. The collection will be empty if all groups were shared with successfully.

Since

200.0.0