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

SecurityExtensions.AssociateDefaultGroups Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Associate the provided groups as default owners, members or visitors groups. If a group is null then the association is not done

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

Syntax

public static void AssociateDefaultGroups(this Web web, Group owners, Group members, Group visitors)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to operate on

owners

  Type: Microsoft.SharePoint.Client.Group
  Owners group

members

  Type: Microsoft.SharePoint.Client.Group
  Members group

visitors

  Type: Microsoft.SharePoint.Client.Group
  Visitors group

Return Value

Type: void

See also

© 2018 Microsoft