ArcGIS Runtime SDK for WPF - Library Reference
ShareTaskAsync(IEnumerable<String>,Nullable<Boolean>,Nullable<Boolean>) Method
See Also 
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortalItem Class > ShareTaskAsync Method : ShareTaskAsync(IEnumerable<String>,Nullable<Boolean>,Nullable<Boolean>) Method

groupIds
withEveryone
withOrganization
Shares the ArcGISPortalItem with the specified list of ArcGISPortalGroup.Id values. This Method is available only to authenticated users.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ShareTaskAsync( _
   ByVal groupIds As IEnumerable(Of String), _
   ByVal withEveryone As Nullable(Of Boolean), _
   ByVal withOrganization As Nullable(Of Boolean) _
) As Task(Of ShareItemResult)

Parameters

groupIds
withEveryone
withOrganization

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.