Search Results for

    Show / Hide Table of Contents

    Interface ITeamDefaultPermission

    The system entity for team default permissions, which defines the default permissions the parent ITeam get to any specified type of item in the system

    See https://web.lemonedge.com/help/team-default-permissions-view/ for more information

    Inherited Members
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    IPermissionChecker.CanWrite
    IPermissionChecker.CanDelete
    IPermissionChecker.CanChangePermissions
    IPermissionChecker.CanRead
    Namespace: LemonEdge.API.Entities
    Assembly: API.dll
    Syntax
    [EntityDefinition(EntityID.TeamDefaultPermissions, "dbo.LT_TeamDefaultPermissions", "TeamDefaultPermission", IsStandingDataEntity = true)]
    [MultipleUnique(new string[]{"TeamID", "EntityID"})]
    [DefaultEntityIcon(ImageType.UserPermission)]
    public interface ITeamDefaultPermission : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IPermissionChecker

    Properties

    CanCreate

    Indicates this team has permissions to create new instances of entities of this type.

    If they do not have this permission, the team will never be able to create new instances of records of this type through any function in the system be that the API, web services, applications, etc.

    Declaration
    [EntityProperty(SQLType.Bit, false)]
    bool CanCreate { get; set; }
    Property Value
    Type Description
    System.Boolean

    EntityID

    [Key] Holds the entity type you want to assign default permissions for this team to.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    Guid EntityID { get; set; }
    Property Value
    Type Description
    System.Guid

    TeamID

    [Key] Links to ITeam. The parent team this default permission belongs to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Teams", "TeamDefaultPermissions", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
    Guid TeamID { get; set; }
    Property Value
    Type Description
    System.Guid

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    ITeam
    ITeamDefaultTeamPermission
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.