Show / Hide Table of Contents

Class GrantedModuleLicense

Represents a single module license granted to a user.

Inheritance
Object
Carrier
GrantedModuleLicense
Inherited Members
Carrier.TableRight
Carrier.FieldProperties
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Services
Assembly: SoCore.dll
Syntax
public class GrantedModuleLicense : Carrier

Constructors

GrantedModuleLicense()

Declaration
public GrantedModuleLicense()

Properties

Description

Name of the module as shown in the user interface.

Declaration
public virtual string Description { get; set; }
Property Value
Type Description
String

ExpiryDate

Expiry date for the license.

Declaration
public virtual DateTime ExpiryDate { get; set; }
Property Value
Type Description
DateTime

ExtraFlags

Any additional data the license module needs.

Declaration
public virtual int ExtraFlags { get; set; }
Property Value
Type Description
Int32

ExtraInfo

Any additional data the license module needs.

Declaration
public virtual string ExtraInfo { get; set; }
Property Value
Type Description
String

IsHidden

Is the license hidden from the user? Hidden licenses are usually feature-specific, part of a larger bundle.

Declaration
public virtual bool IsHidden { get; set; }
Property Value
Type Description
Boolean

IsUnrestricted

Is the license limited to the number of licenses?

Declaration
public virtual bool IsUnrestricted { get; set; }
Property Value
Type Description
Boolean

LicenseNumber

Number of licenses granted.

Declaration
public virtual int LicenseNumber { get; set; }
Property Value
Type Description
Int32

LicenseType

Type of license: site(1), satellite(2), user(3)

Declaration
public virtual LicenseType LicenseType { get; set; }
Property Value
Type Description
SuperOffice.License.LicenseType

ModuleId

Primary key for ModuleLicense row

Declaration
public virtual int ModuleId { get; set; }
Property Value
Type Description
Int32

Name

Unique name identifying the module. e.g. "WINCAL" or "SUPERSERVER"

Declaration
public virtual string Name { get; set; }
Property Value
Type Description
String

OwnerDescription

Description of the owner module as shown in the user interface.

Declaration
public virtual string OwnerDescription { get; set; }
Property Value
Type Description
String

OwnerId

Primary key of the ModuleOwner row.

Declaration
public virtual int OwnerId { get; set; }
Property Value
Type Description
Int32

OwnerName

Unique name identifying the module owner. Must match primer data installed by module. e.g. "SUPEROFFICE" or "ADWIZA"

Declaration
public virtual string OwnerName { get; set; }
Property Value
Type Description
String

SortOrder

Order in which licenses are sorted in the license calculations.

Declaration
public virtual int SortOrder { get; set; }
Property Value
Type Description
Int32

Version

Version of the module license (for future use).

Declaration
public virtual string Version { get; set; }
Property Value
Type Description
String

Methods

ToString()

ToString will return OnwerName.Name (Description)

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

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top