Table of Contents

Class ConnectSiteToGroupOptions

Namespace
PnP.Core.Admin.Model.SharePoint
Assembly
PnP.Core.Admin.dll

Defines the information need to connect a group to an existing site

public class ConnectSiteToGroupOptions : CommonGroupSiteOptions
Inheritance
ConnectSiteToGroupOptions
Inherited Members

Constructors

ConnectSiteToGroupOptions(Uri, string, string)

Creates an ConnectSiteToGroupOptions class

public ConnectSiteToGroupOptions(Uri url, string alias, string displayName)

Parameters

url Uri

The url for the site to group connect

alias string

Alias for the group that will be connected to the site

displayName string

Name of the site

Properties

KeepOldHomePage

If the site already has a modern home page, do we want to keep it?

public bool KeepOldHomePage { get; set; }

Property Value

bool

Owners

Set the owners of the group connected site. Specify the UPN values in a string array.

public string[] Owners { get; set; }

Property Value

string[]

Url

The url for the site to group connect

public Uri Url { get; set; }

Property Value

Uri