Class CommonGroupSiteOptions
- 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 backed by a Microsoft 365 group
public abstract class CommonGroupSiteOptions : CommonSiteOptions
- Inheritance
-
CommonGroupSiteOptions
- Derived
- Inherited Members
Constructors
CommonGroupSiteOptions(string, string)
Default constructor to configure the common options for group connected sites
public CommonGroupSiteOptions(string alias, string displayName)
Parameters
Properties
AdditionalData
Option to add custom data to the post request for creating a group like the custom property for a EducationClass
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
Alias
Alias of the underlying Office 365 Group
public string Alias { get; set; }
Property Value
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
Description
The description of the site to be created.
public string Description { get; set; }
Property Value
DisplayName
The title of the site to create
public string DisplayName { get; set; }
Property Value
HubSiteId
The Guid of the hub site to be used. If specified will associate the modern team site to the hub site. (not applicable when application permissions are used)
public Guid HubSiteId { get; set; }
Property Value
IsPublic
Defines whether the Office 365 Group will be public (default), or private.
[Obsolete("Use the Visibility property instead")]
public bool IsPublic { get; set; }
Property Value
PreferredDataLocation
The geography in which to create the site collection. Only applicable to multi-geo enabled tenants
public GeoLocation? PreferredDataLocation { get; set; }
Property Value
SensitivityLabelId
The Sensitivity label to use. See https://www.youtube.com/watch?v=NxvUXBiPFcw for more information. (not applicable when application permissions are used)
public Guid SensitivityLabelId { get; set; }
Property Value
SiteAlias
SiteAlias of the underlying Office 365 Group, i.e. the site part of the url: https://contoso.sharepoint.com/sites/<SiteAlias> (not applicable when application permissions are used)
public string SiteAlias { get; set; }
Property Value
Visibility
Defines whether the Office 365 Group will be public (default), or private or hiddenMembership.
public GroupVisibility Visibility { get; set; }