Search Results for

    Show / Hide Table of Contents

    Class CommonGroupSiteOptions

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

    Inheritance
    System.Object
    CommonSiteOptions
    CommonGroupSiteOptions
    ConnectSiteToGroupOptions
    TeamSiteOptions
    Inherited Members
    CommonSiteOptions.Language
    CommonSiteOptions.WebTemplate
    Namespace: PnP.Core.Admin.Model.SharePoint
    Assembly: PnP.Core.Admin.dll
    Syntax
    public abstract class CommonGroupSiteOptions : CommonSiteOptions

    Constructors

    CommonGroupSiteOptions(String, String)

    Default constructor to configure the common options for group connected sites

    Declaration
    public CommonGroupSiteOptions(string alias, string displayName)
    Parameters
    System.String alias

    Alias for the group to create

    System.String displayName

    Display name for the group to create

    Properties

    AdditionalData

    Option to add custom data to the post request for creating a group like the custom property for a EducationClass

    Declaration
    public IDictionary<string, object> AdditionalData { get; set; }
    Property Value
    IDictionary<System.String, System.Object>

    Alias

    Alias of the underlying Office 365 Group

    Declaration
    public string Alias { get; set; }
    Property Value
    System.String

    Classification

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

    Declaration
    public string Classification { get; set; }
    Property Value
    System.String

    Description

    The description of the site to be created.

    Declaration
    public string Description { get; set; }
    Property Value
    System.String

    DisplayName

    The title of the site to create

    Declaration
    public string DisplayName { get; set; }
    Property Value
    System.String

    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)

    Declaration
    public Guid HubSiteId { get; set; }
    Property Value
    Guid

    IsPublic

    Defines whether the Office 365 Group will be public (default), or private.

    Declaration
    public bool IsPublic { get; set; }
    Property Value
    System.Boolean

    PreferredDataLocation

    The geography in which to create the site collection. Only applicable to multi-geo enabled tenants

    Declaration
    public GeoLocation? PreferredDataLocation { get; set; }
    Property Value
    System.Nullable<GeoLocation>

    SensitivityLabelId

    The Sensitivity label to use. See https://www.youtube.com/watch?v=NxvUXBiPFcw for more information. (not applicable when application permissions are used)

    Declaration
    public Guid SensitivityLabelId { get; set; }
    Property Value
    Guid

    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)

    Declaration
    public string SiteAlias { get; set; }
    Property Value
    System.String

    Visibility

    Defines whether the Office 365 Group will be public (default), or private or hiddenMembership.

    Declaration
    public GroupVisibility Visibility { get; set; }
    Property Value
    GroupVisibility

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer