Class TeamSiteOptions
- Namespace
- PnP.Core.Admin.Model.SharePoint
- Assembly
- PnP.Core.Admin.dll
Contains the available options for creating a group connected team site collection
public class TeamSiteOptions : CommonGroupSiteOptions
- Inheritance
-
TeamSiteOptions
- Inherited Members
Constructors
TeamSiteOptions(string, string)
Default constuctor for creating a TeamSiteOptions object used to define a team site collection creation
public TeamSiteOptions(string alias, string displayName)
Parameters
Properties
AllowOnlyMembersToPost
If true, only group members can post conversations to the group. Only applies when using application permissions to create the site.
public bool? AllowOnlyMembersToPost { get; set; }
Property Value
- bool?
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.
public bool? CalendarMemberReadOnly { get; set; }
Property Value
- bool?
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.
public bool? ConnectorsDisabled { get; set; }
Property Value
- bool?
HideGroupInOutlook
If true, this group is hidden in Outlook experiences. Only applies when using application permissions to create the site.
public bool? HideGroupInOutlook { get; set; }
Property Value
- bool?
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.
public string[] Members { get; set; }
Property Value
- string[]
Owners
Set the owners of the team site connected group. Specify the UPN values in a string array.
public string[] Owners { get; set; }
Property Value
- string[]
SiteDesignId
The ID of the Site Design to apply, if any (not applicable when application permissions are used)
public Guid? SiteDesignId { get; set; }
Property Value
- 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.
public bool? SubscribeMembersToCalendarEventsDisabled { get; set; }
Property Value
- bool?
SubscribeNewGroupMembers
If true, group members are subscribed to receive group conversations. Only applies when using application permissions to create the site.
public bool? SubscribeNewGroupMembers { get; set; }
Property Value
- bool?
WelcomeEmailDisabled
If true, welcome emails are not sent to new members. Only applies when using application permissions to create the site.
public bool? WelcomeEmailDisabled { get; set; }
Property Value
- bool?