Click or drag to resize

PortalItemUnshareGroupsAsync Method (IEnumerablePortalGroup, CancellationToken)

Stops sharing this PortalItem with the specified list of PortalGroup. This Method is available only to authenticated users.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public Task<IEnumerable<PortalGroup>> UnshareGroupsAsync(
	IEnumerable<PortalGroup> groups,
	CancellationToken cancellationToken


Type: System.Collections.GenericIEnumerablePortalGroup
The collection of PortalGroup that you want to stop sharing the item with.
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: TaskIEnumerablePortalGroup
The task object representing the asynchronous unshare operation. The value of the task result is a collection of PortalGroup that the item could NOT be unshared with.
See Also