Web.ShareObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- context
- ClientRuntimeContext
- url
- String
- peoplePickerInput
- String
- roleValue
- String
- groupId
- Int32
- propagateAcl
- Boolean
- sendEmail
- Boolean
- includeAnonymousLinkInEmail
- Boolean
- emailSubject
- String
- emailBody
- String
- useSimplifiedRoles
- Boolean
Returns
- Attributes