Search Results for

    Show / Hide Table of Contents

    Class AccountMaintenance

    Inheritance
    object
    BaseEntity
    BaseEntityWithPermissions
    AccountMaintenance
    Implements
    IAccountMaintenance
    IBaseEntityWithPermissions
    ISetCopier
    IShareAcrossAccounts
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ILicense
    ICloneableAsync<IAccountMaintenance>
    Inherited Members
    BaseEntityWithPermissions.IsLocked(object)
    BaseEntityWithPermissions.CanWriteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.PreLoadPermissions<T>(IEnumerable<T>, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanDeleteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanChangeItemPermissions(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.Administration
    Assembly: LemonEdge.API.Entities.Auto.dll
    Syntax
    [DataContract]
    public class AccountMaintenance : BaseEntityWithPermissions, IAccountMaintenance, IBaseEntityWithPermissions, ISetCopier, IShareAcrossAccounts, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ILicense, ICloneableAsync<IAccountMaintenance>

    Constructors

    AccountMaintenance()

    Declaration
    public AccountMaintenance()

    Properties

    AdminUserID

    Links to IUser. Holds the unique ID of the admin of this account. Can't be linked to, as this exists in the account itself and is administered from the root account (1).

    Declaration
    public Guid? AdminUserID { get; set; }
    Property Value
    Type Description
    Guid?

    CanEditSQL

    Indicates this is account is permitted to edit SQL manually in sql wrappers.

    Declaration
    public bool CanEditSQL { get; set; }
    Property Value
    Type Description
    bool

    Description

    A user friendly description of this account

    Declaration
    [StringLength(2000)]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    IsShared

    Indicates this record is a shared record. Only the root account can edit items that are shared records

    Declaration
    public bool IsShared { get; set; }
    Property Value
    Type Description
    bool

    LicenseEmail

    An active email address for this license.

    Declaration
    [StringLength(500)]
    public string LicenseEmail { get; set; }
    Property Value
    Type Description
    string

    LicenseExpiry

    The date this license is valid to. The license will be invalid after this date, and you'll need to renew.

    Declaration
    public DateTimeOffset? LicenseExpiry { get; set; }
    Property Value
    Type Description
    DateTimeOffset?

    LicenseKey

    This holds a valid license key for this account.

    Declaration
    [StringLength(2500)]
    public string LicenseKey { get; set; }
    Property Value
    Type Description
    string

    LicenseMaxCustomObjects

    The maximum number of entities created through either the custom object auto-code designer, or directly in code against our API. This is a count of the unique id of objects regardless of database/account, one custom object in two databases still counts as one object.

    Declaration
    public int LicenseMaxCustomObjects { get; set; }
    Property Value
    Type Description
    int

    LicenseMaxProductionDatabases

    The maximum number of production databases. Excludes Dev, Test, UAT and other non-production databases.

    Declaration
    public int LicenseMaxProductionDatabases { get; set; }
    Property Value
    Type Description
    int

    LicenseMaxUserCount

    The maximum number of external users tied to this license. Internal users are covered by your normal production license.

    Declaration
    public int? LicenseMaxUserCount { get; set; }
    Property Value
    Type Description
    int?

    LicenseName

    The company name this license is for. A license is only valid for one company.

    Declaration
    [StringLength(500)]
    public string LicenseName { get; set; }
    Property Value
    Type Description
    string

    LicenseType

    The type of license for this account.

    Declaration
    [EnumDataType(typeof(LicenseType))]
    public LicenseType LicenseType { get; set; }
    Property Value
    Type Description
    LicenseType

    LicenseType_Tooltip

    Declaration
    [NotMapped]
    public string LicenseType_Tooltip { get; set; }
    Property Value
    Type Description
    string

    Name

    The user friendly name of this account.

    Declaration
    [Unique]
    [Required]
    [StringLength(500)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Suspended

    Indicates if this account is suspended. If it is then no-one can log into this account.

    Declaration
    [PropertyValidation("MyItem.Suspended == true", "MyItem.UniqueAccountID != 1", "You can not suspend the main root account.")]
    public bool Suspended { get; set; }
    Property Value
    Type Description
    bool

    SystemHelpURL

    Holds the help url for this system. Defaults to the base help url if empty.

    Declaration
    [StringLength(2500)]
    public string SystemHelpURL { get; set; }
    Property Value
    Type Description
    string

    UniqueAccountID

    The unique account id for this account.

    The main root account always has an id of 1.

    This is the key for this entity
    Declaration
    [PropertyValidation("MyItem.AccountID != 1", "false", "Accounts can only be maintained from within the root account itself.")]
    public long UniqueAccountID { get; set; }
    Property Value
    Type Description
    long

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(IAccountMaintenance)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(IAccountMaintenance source)
    Parameters
    Type Name Description
    IAccountMaintenance source

    The source object to copy all values from.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IAccountMaintenance
    IBaseEntityWithPermissions
    ISetCopier
    IShareAcrossAccounts
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ILicense
    ICloneableAsync<T>

    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.