Table of Contents

Class CommonNoGroupSiteOptions

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

Generic site collection creation options that apply for all types of site collections that are not backed by a Microsoft 365 group

public abstract class CommonNoGroupSiteOptions : CommonSiteOptions
Inheritance
CommonNoGroupSiteOptions
Derived
Inherited Members

Constructors

CommonNoGroupSiteOptions(Uri, string)

Default constructor, sets url and title

public CommonNoGroupSiteOptions(Uri url, string title)

Parameters

url Uri

Url of the site to create

title string

Title of the site to create

Properties

Classification

The Site classification to use. For instance 'Contoso Classified'. See https://www.youtube.com/watch?v=E-8Z2ggHcS0 for more information

public string Classification { get; set; }

Property Value

string

Description

The description to use for the site.

public string Description { get; set; }

Property Value

string

HubSiteId

The Guid of the hub site to be used. If specified will associate the communication site to the hub site

public Guid HubSiteId { get; set; }

Property Value

Guid

Owner

The owner of the site. Reserved for future use.

public string Owner { get; set; }

Property Value

string

SensitivityLabelId

The Sensitivity label to use. See https://www.youtube.com/watch?v=NxvUXBiPFcw for more information.

public Guid SensitivityLabelId { get; set; }

Property Value

Guid

ShareByEmailEnabled

If set to true sharing files by email is enabled. Defaults to false.

public bool ShareByEmailEnabled { get; set; }

Property Value

bool

SiteDesignId

The Guid of the site design to be used.

public Guid SiteDesignId { get; set; }

Property Value

Guid

TimeZone

The time zone to use for the site.

public TimeZone? TimeZone { get; set; }

Property Value

TimeZone?

Title

The title of the site to create

public string Title { get; set; }

Property Value

string

Url

The fully qualified URL (e.g. https://yourtenant.sharepoint.com/sites/mysitecollection) of the site.

public Uri Url { get; set; }

Property Value

Uri