Interface ITeam
The system entity for a team, which defines all the permissions that can be used to interact with the system
See https://help.lemonedge.com/help/open-architecture/admin/teams/intro.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Administration
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.Teams, "dbo.LT_Teams", "Team", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/open-architecture/admin/teams/intro.html")]
[DefaultEntityIcon(ImageType.Team)]
[EntityIncludeInIndex(IndexName = "CanvasItem", IncludeColumns = new string[] { "AdminPermissions" })]
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.")]
[DBTrackChanges]
[ReadOnly]
bool AdminPermissions { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanApproveCanvasItems
Indicates if the team is allowed to approve canvas items
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("Indicates if the team is allowed to approve items in a canvas for promotion.")]
CanApproveCanvasItems CanApproveCanvasItems { get; set; }
Property Value
Type | Description |
---|---|
CanApproveCanvasItems |
CanCancel
Indicates if users of this team can cancel transactions or not
Declaration
[EntityDescription("Indicates if users of this team can cancel transactions or not")]
[EntityProperty(SQLType.SmallInt, false, "0")]
CanCancelTransactions CanCancel { get; set; }
Property Value
Type | Description |
---|---|
CanCancelTransactions |
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 |
---|---|
bool |
CanFinalizeTransactions
Indicates if the team is allowed to finalize transactions
Declaration
[EntityProperty(SQLType.SmallInt, false, "2")]
[EntityDescription("Indicates if the team is allowed to finalize transactions.")]
CanFinalizeTransactions CanFinalizeTransactions { get; set; }
Property Value
Type | Description |
---|---|
CanFinalizeTransactions |
CanImpersonateUsersForTasks
Can impersonate users to run tasks as
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Can impersonate users to run tasks as.")]
bool CanImpersonateUsersForTasks { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanModifyLockedTransactions
Indicates if the team is allowed to modify locked (cancelled or finalized) transactions.
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("Indicates if the team is allowed to modify locked (cancelled or finalized) transactions.")]
CanModifyLockedTransactions CanModifyLockedTransactions { get; set; }
Property Value
Type | Description |
---|---|
CanModifyLockedTransactions |
CanModifySQLWrappers
Indicates if team is allowed to modify code of sql wrapper
Declaration
[EntityDescription("Indicates if team is allowed to modify code of sql wrapper")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanModifySQLWrappers { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanRunClientImports
Indicates users of this team can run client imports. Typically only used for testing large imports on the task service. Running on a client can cause heavy use of the web service, and if the imports have errors cause incorrect diagnosis on the web service health
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Indicates users of this team can run client imports. Typically only used for testing large imports on the task service. Running on a client can cause heavy use of the web service, and if the imports have errors cause incorrect diagnosis on the web service health.")]
bool CanRunClientImports { get; set; }
Property Value
Type | Description |
---|---|
bool |
Description
A user friendly description of the team and its purpose
Declaration
[EntityProperty(SQLType.NVarChar, 2000, true)]
[EntityDescription("A user friendly description of this teams function.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
[Key] The user friendly unique name for a team
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityKeyProperty]
[EntityDescription("The unique name of this team.")]
[Unique]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RunnableTasks
Indicates which tasks that require special permissions this team can run
Declaration
[EntityDescription("Indicates which tasks that require special permissions this team can run")]
[EntityProperty(SQLType.SmallInt, false, "0")]
BulkTaskPermissions RunnableTasks { get; set; }
Property Value
Type | Description |
---|---|
BulkTaskPermissions |
ThreeLetterCode
The unique short name for the team that is used throughout the application
Declaration
[EntityProperty(SQLType.NVarChar, 3, false)]
[EntityDescription("The unique short code for this team, max 3 characters.")]
[Unique]
[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 |
---|---|
string |