Class TeamSecurity
Defines the Security settings for the Team
Inherited Members
Namespace: PnP.Framework.Provisioning.Model.Teams
Assembly: PnP.Framework.dll
Syntax
public class TeamSecurity : BaseModel, IProvisioningTemplateDescendant
Constructors
TeamSecurity()
Constructor for TeamSecurity
Declaration
public TeamSecurity()
Properties
AllowToAddGuests
Defines whether guests are allowed in the Team
Declaration
public Boolean AllowToAddGuests { get; set; }
Property Value
Boolean
|
ClearExistingMembers
Declares whether to clear existing members before adding new ones
Declaration
public Boolean ClearExistingMembers { get; set; }
Property Value
Boolean
|
ClearExistingOwners
Declares whether to clear existing owners before adding new ones
Declaration
public Boolean ClearExistingOwners { get; set; }
Property Value
Boolean
|
Members
Defines the Members of the Team
Declaration
public TeamSecurityUserCollection Members { get; }
Property Value
TeamSecurityUserCollection
|
Owners
Defines the Owners of the Team
Declaration
public TeamSecurityUserCollection Owners { get; }
Property Value
TeamSecurityUserCollection
|
Methods
Equals(TeamSecurity)
Compares TeamSecurity object based on Owners, Members, and AllowToAddGuests
Declaration
public bool Equals(TeamSecurity other)
Parameters
TeamSecurity
other
TeamSecurity Class object |
Returns
System.Boolean
true if the TeamSecurity object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with TeamSecurity class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents TeamSecurity |
Returns
System.Boolean
Checks whether object is TeamSecurity class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |