Web.ShareObject(ClientRuntimeContext, String, String, String, Int32, Boolean, Boolean, Boolean, String, String, Boolean) Method

Definition

[Microsoft.SharePoint.Client.Remote]
public static Microsoft.SharePoint.Client.SharingResult ShareObject (Microsoft.SharePoint.Client.ClientRuntimeContext context, string url, string peoplePickerInput, string roleValue, int groupId, bool propagateAcl, bool sendEmail, bool includeAnonymousLinkInEmail, string emailSubject, string emailBody, bool useSimplifiedRoles);
static member ShareObject : Microsoft.SharePoint.Client.ClientRuntimeContext * string * string * string * int * bool * bool * bool * string * string * bool -> Microsoft.SharePoint.Client.SharingResult
Public Shared Function ShareObject (context As ClientRuntimeContext, url As String, peoplePickerInput As String, roleValue As String, groupId As Integer, propagateAcl As Boolean, sendEmail As Boolean, includeAnonymousLinkInEmail As Boolean, emailSubject As String, emailBody As String, useSimplifiedRoles As Boolean) As SharingResult

Parameters

url
String
peoplePickerInput
String
roleValue
String
groupId
Int32
propagateAcl
Boolean
sendEmail
Boolean
includeAnonymousLinkInEmail
Boolean
emailSubject
String
emailBody
String
useSimplifiedRoles
Boolean

Returns

SharingResult
Attributes

Applies to