Search Results for

    Show / Hide Table of Contents

    Class TeamSiteOptions

    Contains the available options for creating a group connected team site collection

    Inheritance
    System.Object
    CommonSiteOptions
    CommonGroupSiteOptions
    TeamSiteOptions
    Inherited Members
    CommonGroupSiteOptions.Alias
    CommonGroupSiteOptions.DisplayName
    CommonGroupSiteOptions.IsPublic
    CommonGroupSiteOptions.Visibility
    CommonGroupSiteOptions.Description
    CommonGroupSiteOptions.Classification
    CommonGroupSiteOptions.HubSiteId
    CommonGroupSiteOptions.SensitivityLabelId
    CommonGroupSiteOptions.SiteAlias
    CommonGroupSiteOptions.PreferredDataLocation
    CommonGroupSiteOptions.AdditionalData
    CommonSiteOptions.Language
    CommonSiteOptions.WebTemplate
    Namespace: PnP.Core.Admin.Model.SharePoint
    Assembly: PnP.Core.Admin.dll
    Syntax
    public class TeamSiteOptions : CommonGroupSiteOptions

    Constructors

    TeamSiteOptions(String, String)

    Default constuctor for creating a TeamSiteOptions object used to define a team site collection creation

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

    Alias for the group to create

    System.String displayName

    Displayname for the group to create

    Properties

    AllowOnlyMembersToPost

    If true, only group members can post conversations to the group. Only applies when using application permissions to create the site.

    Declaration
    public bool? AllowOnlyMembersToPost { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    CalendarMemberReadOnly

    If true, members can view the group calendar in Outlook but cannot make changes. Only applies when using application permissions to create the site.

    Declaration
    public bool? CalendarMemberReadOnly { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    ConnectorsDisabled

    If true, changes made to the group in Exchange Online are not synced back to on-premises Active Directory. Only applies when using application permissions to create the site.

    Declaration
    public bool? ConnectorsDisabled { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    HideGroupInOutlook

    If true, this group is hidden in Outlook experiences. Only applies when using application permissions to create the site.

    Declaration
    public bool? HideGroupInOutlook { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    Members

    Set the members of the team site connected group. Specify the UPN values in a string array. Note: Only applicable when application permissions are used.

    Declaration
    public string[] Members { get; set; }
    Property Value
    System.String[]

    Owners

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

    Declaration
    public string[] Owners { get; set; }
    Property Value
    System.String[]

    SiteDesignId

    The ID of the Site Design to apply, if any (not applicable when application permissions are used)

    Declaration
    public Guid? SiteDesignId { get; set; }
    Property Value
    System.Nullable<Guid>

    SubscribeMembersToCalendarEventsDisabled

    If true, members are not subscribed to the group's calendar events in Outlook. Only applies when using application permissions to create the site.

    Declaration
    public bool? SubscribeMembersToCalendarEventsDisabled { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    SubscribeNewGroupMembers

    If true, group members are subscribed to receive group conversations. Only applies when using application permissions to create the site.

    Declaration
    public bool? SubscribeNewGroupMembers { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    WelcomeEmailDisabled

    If true, welcome emails are not sent to new members. Only applies when using application permissions to create the site.

    Declaration
    public bool? WelcomeEmailDisabled { get; set; }
    Property Value
    System.Nullable<System.Boolean>

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