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
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
public class GrantedModuleLicense : Carrier

Constructors

GrantedModuleLicense()

Represents a single module license granted to a user.

Declaration
public GrantedModuleLicense()

Properties

Description

Name of the module as shown in the user interface.

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string

ExpiryDate

Expiry date for the license.

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

ExtraFlags

Any additional data the license module needs.

Declaration
[DataMember]
public virtual int ExtraFlags { get; set; }
Property Value
Type Description
int

ExtraInfo

Any additional data the license module needs.

Declaration
[DataMember]
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
[DataMember]
public virtual bool IsHidden { get; set; }
Property Value
Type Description
bool

IsUnrestricted

Is the license limited to the number of licenses?

Declaration
[DataMember]
public virtual bool IsUnrestricted { get; set; }
Property Value
Type Description
bool

LicenseNumber

Number of licenses granted.

Declaration
[DataMember]
public virtual int LicenseNumber { get; set; }
Property Value
Type Description
int

LicenseType

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

Declaration
[DataMember]
public virtual LicenseType LicenseType { get; set; }
Property Value
Type Description
LicenseType

ModuleId

Primary key for ModuleLicense row

Declaration
[DataMember]
public virtual int ModuleId { get; set; }
Property Value
Type Description
int

Name

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

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string

OwnerDescription

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

Declaration
[DataMember]
public virtual string OwnerDescription { get; set; }
Property Value
Type Description
string

OwnerId

Primary key of the ModuleOwner row.

Declaration
[DataMember]
public virtual int OwnerId { get; set; }
Property Value
Type Description
int

OwnerName

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

Declaration
[DataMember]
public virtual string OwnerName { get; set; }
Property Value
Type Description
string

SortOrder

Order in which licenses are sorted in the license calculations.

Declaration
[DataMember]
public virtual int SortOrder { get; set; }
Property Value
Type Description
int

Version

Version of the module license (for future use).

Declaration
[DataMember]
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)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top