> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.GrantedModuleLicense

# <a id="SuperOffice_WebApi_Data_GrantedModuleLicense" /> Class GrantedModuleLicense

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for GrantedModuleLicense.
Represents a single module license granted to a user.

```csharp theme={null}
public class GrantedModuleLicense : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[GrantedModuleLicense](SuperOffice.WebApi.Data.GrantedModuleLicense.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense__ctor" /> GrantedModuleLicense()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public GrantedModuleLicense()
```

## Properties

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_Description" /> Description

Name of the module as shown in the user interface.

```csharp theme={null}
public virtual string Description { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_ExpiryDate" /> ExpiryDate

Expiry date for the license.

```csharp theme={null}
public virtual DateTime ExpiryDate { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_ExtraFlags" /> ExtraFlags

Any additional data the license module needs.

```csharp theme={null}
public virtual int ExtraFlags { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_IsHidden" /> IsHidden

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

```csharp theme={null}
public virtual bool IsHidden { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_IsUnrestricted" /> IsUnrestricted

Is the license limited to the number of licenses?

```csharp theme={null}
public virtual bool IsUnrestricted { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_LicenseNumber" /> LicenseNumber

Number of licenses granted.

```csharp theme={null}
public virtual int LicenseNumber { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_LicenseType" /> LicenseType

Type of license: site(1), satellite(2), user(3)
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public LicenseType? LicenseType { get; set; }
```

#### Property Value

[LicenseType](SuperOffice.WebApi.Data.LicenseType.md)?

#### See Also

[GrantedModuleLicense](SuperOffice.WebApi.Data.GrantedModuleLicense.md).[LicenseType\_String](SuperOffice.WebApi.Data.GrantedModuleLicense.md#SuperOffice_WebApi_Data_GrantedModuleLicense_LicenseType_String)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_LicenseType_String" /> LicenseType\_String

Type of license: site(1), satellite(2), user(3)
Raw string enum value.

```csharp theme={null}
[JsonProperty("LicenseType")]
public string LicenseType_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[GrantedModuleLicense](SuperOffice.WebApi.Data.GrantedModuleLicense.md).[LicenseType](SuperOffice.WebApi.Data.GrantedModuleLicense.md#SuperOffice_WebApi_Data_GrantedModuleLicense_LicenseType)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_ModuleId" /> ModuleId

Primary key for ModuleLicense row

```csharp theme={null}
public virtual int ModuleId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_Name" /> Name

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

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_OwnerDescription" /> OwnerDescription

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

```csharp theme={null}
public virtual string OwnerDescription { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_OwnerId" /> OwnerId

Primary key of the ModuleOwner row.

```csharp theme={null}
public virtual int OwnerId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_OwnerName" /> OwnerName

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

```csharp theme={null}
public virtual string OwnerName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_SortOrder" /> SortOrder

Order in which licenses are sorted in the license calculations.

```csharp theme={null}
public virtual int SortOrder { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_GrantedModuleLicense_Version" /> Version

Version of the module license (for future use).

```csharp theme={null}
public virtual string Version { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)


## Related topics

- [SuperOffice.WebApi.Data.SoPrincipalCarrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.SoPrincipalCarrier.md)
- [SuperOffice.WebApi.Data.ModuleLicense](/en/api/reference/webapi/SuperOffice.WebApi.Data.ModuleLicense.md)
- [SuperOffice.WebApi.Data.ModuleLicenseLink](/en/api/reference/webapi/SuperOffice.WebApi.Data.ModuleLicenseLink.md)
- [SuperOffice.WebApi.Data.License GetModuleLicenseFromDBRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.License_GetModuleLicenseFromDBRequest.md)
- [SuperOffice.WebApi.Data.License GetModuleLicenseHistoryFromLicenseServerRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.License_GetModuleLicenseHistoryFromLicenseServerRequest.md)
- [SuperOffice.WebApi.Data.ExtendedModuleLicense](/en/api/reference/webapi/SuperOffice.WebApi.Data.ExtendedModuleLicense.md)
