Table of contents
TOC
Collapse the table of content
Expand the table of content

ExternalSharingExtensions.GetObjectSharingSettingsForSite Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Get current sharing settings for site and load list of users it has been shared automatically.

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static ObjectSharingSettings GetObjectSharingSettingsForSite(this Web web, Boolean useSimplifiedPolicies = True)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web for the context

(optional) useSimplifiedPolicies

  Type: System.Boolean
   Get current sharing settings for site and load list of users it has been shared automatically.

Return Value

Type: ObjectSharingSettings
A ObjectSharingSettings object

See also

© 2018 Microsoft