# LogonHours.md

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

Logon Hours

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

[RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md)

⇒

LogonHours

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                          | Name                                                                                                                         | Description                                                                                                                  |
| ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                        | AdminCreate                                                                                                                  | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) |
| String                                                                                                                        | AdminLastMod                                                                                                                 | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) |
| [LogonHoursCriteria](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/logonhourscriteria.md) | Criteria                                                                                                                     | The logon hours rule Criteria                                                                                                |
| String                                                                                                                        | Description                                                                                                                  | Description of the logon hours rule                                                                                          |
| Boolean                                                                                                                       | Enabled                                                                                                                      | Whether the logon hours rule is enabled or not                                                                               |
| UInt32                                                                                                                        | Id                                                                                                                           | String                                                                                                                       |
| Name                                                                                                                          | Name of the logon hours rule                                                                                                 | UInt32                                                                                                                       |
| Order                                                                                                                         | Order of the logon hours rule                                                                                                | [PermittedHourPlan](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/permittedhourplan.md)  |
| PermittedHourPlan                                                                                                             | Hours when users are allowed to connect                                                                                      | UInt32                                                                                                                       |
| SiteId                                                                                                                        | Site ID                                                                                                                      | DateTime                                                                                                                     |
| TimeCreate                                                                                                                    | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) | DateTime                                                                                                                     |

## PUBLIC METHODS

| Type                                                                                                                                                                               | Name                       | Description                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Int32                                                                                                                                                                              | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                                            | Equals (Object obj)        | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                                              | GetHashCode ()             | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                                                                                                                                               | GetType ()                 | String                                                                                                                                     |
| ToString ()                                                                                                                                                                        | ### References to Commands |                                                                                                                                            |
| ------------------------------------------------------------------                                                                                                                 |                            |                                                                                                                                            |
| [Remove-RASLogonHours](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Remove-RASLogonHours.md) |                            |                                                                                                                                            |


---

# 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/v20/parallels-ras-powershell-admin-module/types/logonhours.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.
