Interface ILicense
Indicates this entity holds all the values required for a valid license of the LemonEdge platform
The License class is the actual class that is serialized and hashed for a license validity check. It also implements this interface.
The system implementation of this for users to create licenses is through IAccountMaintenanceNamespace: LemonEdge.API.Core
Assembly: API.dll
Syntax
public interface ILicense
Properties
LicenseEmail
An active email address for this license.
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, true)]
[EntityDescription("An active email address for this license.")]
string LicenseEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LicenseExpirey
The date this license is valid to. The license will be invalid after this date, and you'll need to renew.
Declaration
[EntityProperty(SQLType.DateTimeOffset, true)]
[EntityDescription("The date this license is valid to. The license will be invalid after this date, and you'll need to renew.")]
DateTimeOffset? LicenseExpirey { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
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
[EntityProperty(SQLType.Int, false, "100")]
[EntityDescription("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.")]
int LicenseMaxCustomObjects { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LicenseMaxProductionDatabases
The maximum number of production databases. Excludes Dev, Test, UAT and other non-production databases.
Declaration
[EntityProperty(SQLType.Int, false, "0")]
[EntityDescription("The maximum number of production databases. Excludes Dev, Test, UAT and other non-production databases.")]
int LicenseMaxProductionDatabases { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LicenseMaxUserCount
The maximum number of external users tied to this license. Internal users are covered by your normal production license.
Declaration
[EntityProperty(SQLType.Int, true, FriendlyLabel = "Max External Users")]
[EntityDescription("The maximum number of external users tied to this license. Internal users are covered by your normal production license.")]
int? LicenseMaxUserCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
LicenseName
The company name this license is for. A license is only valid for one company.
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, true)]
[EntityDescription("The company name this license is for. A license is only valid for one company.")]
string LicenseName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LicenseType
The type of license for this account.
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("The type of license for this account.")]
LicenseType LicenseType { get; set; }
Property Value
Type | Description |
---|---|
LicenseType |