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
urlUriThe url for the site to group connect
aliasstringAlias for the group that will be connected to the site
displayNamestringName 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
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; }