# LogonHours

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

Logon Hours

## INHERITED FROM

[RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj)

⇒

[RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj)

⇒

LogonHours

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                             | Name              | Description                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                                           | AdminCreate       | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who created the object.            |
| String                                                                                                                                           | AdminLastMod      | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who last modified the object.      |
| [LogonHoursCriteria](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/logonhourscriteria) | 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                | ID of the object.                                                                                                                                                                       |
| String                                                                                                                                           | Name              | Name of the logon hours rule                                                                                                                                                            |
| UInt32                                                                                                                                           | Order             | Order of the logon hours rule                                                                                                                                                           |
| [PermittedHourPlan](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/permittedhourplan)   | PermittedHourPlan | Hours when users are allowed to connect                                                                                                                                                 |
| UInt32                                                                                                                                           | SiteId            | Site ID                                                                                                                                                                                 |
| DateTime                                                                                                                                         | TimeCreate        | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was created.       |
| DateTime                                                                                                                                         | TimeLastMod       | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was last modified. |

## PUBLIC METHODS

| Type                                                                                                                                                                  | Name                       | Description                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                                                                                                                                 | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Boolean                                                                                                                                                               | Equals (Object obj)        | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Int32                                                                                                                                                                 | GetHashCode ()             | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Type                                                                                                                                                                  | GetType ()                 | String                                                                                                                                                        |
| ToString ()                                                                                                                                                           | ### References to Commands |                                                                                                                                                               |
| ------------------------------------------------------------------                                                                                                    |                            |                                                                                                                                                               |
| [Remove-RASLogonHours](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASLogonHours.md) |                            |                                                                                                                                                               |
