# License Class

### NAMESPACE

RASAdminEngine.Core.OutputModels

### DESCRIPTION

RAS License

### INHERITED FROM

[RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html)⇒License

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                | Name                | Description |                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ----------- | ------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                              | AlertMessage        |             | The alert message a RAS Administrator should be notificed about.                                              |
| String                                                                                                                              | ExpiryDate          |             | Expiry date of License                                                                                        |
| String                                                                                                                              | GracePeriodDaysLeft |             | Days left for Grace period                                                                                    |
| String                                                                                                                              | GracePeriodState    |             | State of Grace period                                                                                         |
| String                                                                                                                              | InstalledUsers      |             | Maximum number of licensed users                                                                              |
| String                                                                                                                              | LicenseType         |             | License Type (Permanent, PrePaid, PostPaid, ExtTrial, LegacyTrial, or NormalTrial)                            |
| Boolean                                                                                                                             | NeedsAttention      |             | RAS licensing requires attention.                                                                             |
| String                                                                                                                              | StatusMessage       |             | The current status message of the RAS License.                                                                |
| [LicenseType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/LicenseType.html) | Type                |             | License Type (Permanent, PrePaid, PostPaid, ExtTrial, LegacyTrial, or NormalTrial)                            |
| String                                                                                                                              | UsersLicenseInfo    |             | Amount of users currently connected                                                                           |
| String                                                                                                                              | UsersPeak           |             | Maximum amount of connected users since the product was installed (calculated together with the Usage Today). |

### PUBLIC METHODS

| Type    | Name                   | Description                                                                                                                                                    |   |
| ------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Int32   | CompareTo (Object obj) | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Boolean | Equals (Object obj)    | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Int32   | GetHashCode ()         | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Type    | GetType ()             |                                                                                                                                                                |   |
| String  | ToString ()            |                                                                                                                                                                |   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/class/license-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
