Search Results for

    Show / Hide Table of Contents

    Interface IRole

    The system entity for a role

    See https://help.lemonedge.com/help/open-architecture/admin/roles/intro.html for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(object)
    ICloneableAsync.CopyFromSource(object)
    ICanTrackProperties.HasTrackedPropertyChanged(string)
    ICanTrackProperties.OriginalTrackedPropertyValue(string)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(string)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    ISetCopier.GetCopyInfo(IEntityUpdater)
    Namespace: LemonEdge.API.Entities.Administration
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.Roles, "dbo.LT_Roles", "Role", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/open-architecture/admin/roles/intro.html")]
    [DefaultEntityIcon(ImageType.Role)]
    public interface IRole : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier

    Properties

    CacheType

    Indicates the default loading of the cache into the client. Can be configured for fast external access users such as those looking at dashboards from a browser

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [EntityDescription("Indicates the default loading of the cache into the client. Can be configured for fast external access users such as those looking at dashboards from a browser.")]
    CacheLoad CacheType { get; set; }
    Property Value
    Type Description
    CacheLoad

    Description

    A user friendly description of the purpose for this role

    Declaration
    [EntityProperty(SQLType.NVarChar, 2000, true)]
    [EntityDescription("A user friendly description of this roles function.")]
    string Description { get; set; }
    Property Value
    Type Description
    string

    IsSystem

    Indicates this is one of the two system provided roles - Admin and Standard User.

    Declaration
    [EntityProperty(SQLType.Bit, false, "0")]
    [EntityDescription("Indicates this is a role maintained by the system, and will automatically be modified on upgrades. You can not edit this role.")]
    bool IsSystem { get; set; }
    Property Value
    Type Description
    bool

    Name

    [Key] A unique user friendly name for this role.

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityKeyProperty]
    [EntityDescription("The unique name of this role.")]
    [Unique]
    [Required]
    string Name { get; set; }
    Property Value
    Type Description
    string

    RoleHelpURL

    If you have created a custom role with specific functionality, you can provide a help url to ensure users can get access to a help guide through how to use the role.

    Declaration
    [EntityProperty(SQLType.NVarChar, 2500, true)]
    [EntityDescription("Holds the help url for this role. Defaults to the base help url if empty.")]
    string RoleHelpURL { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.