Interface ITeam
Public interface to define a Team object of Microsoft Teams
Inherited Members
Namespace: PnP.Core.Model.Teams
Assembly: PnP.Core.dll
Syntax
public interface ITeam : IDataModel<ITeam>, IDataModelParent, IDataModelWithContext, ISupportModules<ITeam>, IDataModelGet<ITeam>, IDataModelLoad<ITeam>, IDataModelUpdate
Properties
Channels
Collection of channels in this current Team
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
ITeamChannelCollection Channels { get; }
Property Value
ITeamChannelCollection
|
Classification
The classification of the Team
Declaration
string Classification { get; set; }
Property Value
System.String
|
ClassSettings
Defines the Class Settings for the Team
Declaration
ITeamClassSettings ClassSettings { get; }
Property Value
ITeamClassSettings
|
Description
The description of the Team
Declaration
string Description { get; set; }
Property Value
System.String
|
DiscoverySettings
Defines the Members Settings for the Team
Declaration
ITeamDiscoverySettings DiscoverySettings { get; }
Property Value
ITeamDiscoverySettings
|
DisplayName
The display name of the Team
Declaration
string DisplayName { get; set; }
Property Value
System.String
|
Events
Collection of tags associated with the current Team
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IGraphEventCollection Events { get; }
Property Value
IGraphEventCollection
|
FunSettings
Defines the Members Settings for the Team
Declaration
ITeamFunSettings FunSettings { get; }
Property Value
ITeamFunSettings
|
GuestSettings
Defines the Guest Settings for the Team
Declaration
ITeamGuestSettings GuestSettings { get; }
Property Value
ITeamGuestSettings
|
Id
The Unique ID of the Team/Group
Declaration
Guid Id { get; }
Property Value
Guid
|
InstalledApps
Collection of installed apps in this current Team
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
ITeamAppCollection InstalledApps { get; }
Property Value
ITeamAppCollection
|
InternalId
The Internal ID of the Team
Declaration
string InternalId { get; }
Property Value
System.String
|
IsArchived
Defines whether the Team is archived or not
Declaration
bool IsArchived { get; }
Property Value
System.Boolean
|
Members
Collection of Members of the current Team
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IGraphUserCollection Members { get; }
Property Value
IGraphUserCollection
|
MemberSettings
Defines the Members Settings for the Team
Declaration
ITeamMembersSettings MemberSettings { get; }
Property Value
ITeamMembersSettings
|
MessagingSettings
Defines the Members Settings for the Team
Declaration
ITeamMessagingSettings MessagingSettings { get; }
Property Value
ITeamMessagingSettings
|
Owners
Collection of Owners of the current Team
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IGraphUserCollection Owners { get; }
Property Value
IGraphUserCollection
|
PrimaryChannel
Reference to the Primary Channel for the Team
Declaration
ITeamChannel PrimaryChannel { get; }
Property Value
ITeamChannel
|
Specialization
The specialization of the Team
Declaration
TeamSpecialization Specialization { get; set; }
Property Value
TeamSpecialization
|
Tags
Collection of tags associated with the current Team
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
ITeamTagCollection Tags { get; }
Property Value
ITeamTagCollection
|
Visibility
The specialization of the Team
Declaration
TeamVisibility Visibility { get; set; }
Property Value
TeamVisibility
|
WebUrl
The Web URL of the Team
Declaration
Uri WebUrl { get; }
Property Value
Uri
|
Methods
Archive()
Archive(Boolean)
Archives the team
Declaration
ITeamAsyncOperation Archive(bool setSPOSiteReadOnlyForMembers)
Parameters
System.Boolean
setSPOSiteReadOnlyForMembers
This optional parameter defines whether to set permissions for team members to read-only on the Sharepoint Online site associated with the team |
Returns
ITeamAsyncOperation
|
ArchiveAsync()
Archives the team
Declaration
Task<ITeamAsyncOperation> ArchiveAsync()
Returns
Task<ITeamAsyncOperation>
|
ArchiveAsync(Boolean)
Archives the team
Declaration
Task<ITeamAsyncOperation> ArchiveAsync(bool setSPOSiteReadOnlyForMembers)
Parameters
System.Boolean
setSPOSiteReadOnlyForMembers
This optional parameter defines whether to set permissions for team members to read-only on the Sharepoint Online site associated with the team |
Returns
Task<ITeamAsyncOperation>
|
Unarchive()
UnarchiveAsync()
Unarchives the team
Declaration
Task<ITeamAsyncOperation> UnarchiveAsync()
Returns
Task<ITeamAsyncOperation>
|