> ## 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.

# NSLicenseOwner

> Carrier object for LicenseOwner.

Carrier object for LicenseOwner.

## Constructors

### NSLicenseOwner()

```crmscript theme={null}
NSLicenseOwner
```

Initializes a new instance of the NSLicenseInfo class.

## Methods

## GetDescription()

```crmscript theme={null}
String GetDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
String description = thing.GetDescription();
```

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the license owner.

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
String name = thing.GetName();
```

## GetRestrictedModuleLicenses()

```crmscript theme={null}
NSModuleLicenseLink[] GetRestrictedModuleLicenses()
```

**Returns:** [CRMScript.NetServer.NSModuleLicenseLink](CRMScript.NetServer.NSModuleLicenseLink)\[]

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
NSModuleLicenseLink[] restrictedModuleLicenses = thing.GetRestrictedModuleLicenses();
```

## GetUnrestrictedModuleLicenses()

```crmscript theme={null}
NSModuleLicenseLink[] GetUnrestrictedModuleLicenses()
```

**Returns:** [CRMScript.NetServer.NSModuleLicenseLink](CRMScript.NetServer.NSModuleLicenseLink)\[] - The unrestricted module licenses that this license owner.

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
NSModuleLicenseLink[] unrestrictedModuleLicenses = thing.GetUnrestrictedModuleLicenses();
```

## SetDescription(String)

```crmscript theme={null}
Void SetDescription(String description)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
String description;
thing.SetDescription(description);
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
String name;
thing.SetName(name);
```

## SetRestrictedModuleLicenses(NSModuleLicenseLink\[])

```crmscript theme={null}
Void SetRestrictedModuleLicenses(NSModuleLicenseLink[] restrictedModuleLicenses)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
NSModuleLicenseLink[] restrictedModuleLicenses;
thing.SetRestrictedModuleLicenses(restrictedModuleLicenses);
```

## SetUnRestrictedModuleLicenses(NSModuleLicenseLink\[])

```crmscript theme={null}
Void SetUnrestrictedModuleLicenses(NSModuleLicenseLink[] unrestrictedModuleLicenses)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLicenseOwner thing;
NSModuleLicenseLink[] unrestrictedModuleLicenses;
thing.SetUnrestrictedModuleLicenses(unrestrictedModuleLicenses);
```


## Related topics

- [NSLicenseAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSLicenseAgent.md)
- [NSReplicationAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSReplicationAgent.md)
- [NSSatellite](/en/automation/crmscript/reference/CRMScript.NetServer.NSSatellite.md)
- [NSUser](/en/automation/crmscript/reference/CRMScript.NetServer.NSUser.md)
- [Get License For All Owners From D B](/en/api/reference/restful/agent/license_agent/get-license-for-all-owners-from-d-b.md)
