Interface ITeam
The system entity for a team, which defines all the permissions that can be used to interact with the system
See https://web.lemonedge.com/help/teams/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.Teams, "dbo.LT_Teams", "Team", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "teams")]
[DefaultEntityIcon(ImageType.Team)]
public interface ITeam : IBaseEntityWithPermissions, ISetCopier, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
AdminPermissions
Indicates if this team has admin permissions and can always access all data.
This permission is locked to the default Admin Team and can not be altered in other teams.
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Indicates this is the admin permission set, which must be included in all permissions in the system.")]
bool AdminPermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CanEditSystemItems
Indicates if the team is allowed to edit items that are marked as being system items
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Indicates if system items can be edited by users in this team.")]
bool CanEditSystemItems { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Description
A user friendly description of the team and its purpose
Declaration
[EntityProperty(SQLType.NVarChar, (short)2000, true)]
[EntityDescription("A user friendly description of this teams function.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
[Key] The user friendly unique name for a team
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The unique name of this team.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThreeLetterCode
The unique short name for the team that is used throughout the application
Declaration
[EntityProperty(SQLType.NVarChar, (short)3, false)]
[EntityDescription("The unique short code for this team, max 3 characters.")]
[PropertyValidation("true", "MyItem.ThreeLetterCode.Length <= 3", "Length of short code must be less than or equal to 3")]
string ThreeLetterCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |