# RDSession Class

### NAMESPACE

RASAdminEngine.Core.OutputModels

### DESCRIPTION

User session type

### INHERITED FROM

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

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                      | Name                   | Description                                                                                                                                      |                                                                      |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------- |
| UInt32                                                                                                                                                    | AuthenticationDuration | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [MainAuthenticationMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MainAuthenticationMode.html) | AuthenticationType     | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | BandwidthAvailability  | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | BandwidthUsage         | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | ClientIPAddress        | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | ClientOS               | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | ClientOSVersion        | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | ClientVersion          | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [SessionColorDepth](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/SessionColorDepth.html)           | ColourDepth            | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | ConnectionDuration     | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [ConnMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ConnMode.html)                             | ConnectionMode         | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [QualityLevel](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/QualityLevel.html)                     | ConnectionQuality      | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | DesktopLoadTime        | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | DeviceName             | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | DisconnectReason       | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [FSLogixReasonCode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FSLogixReasonCode.html)           | FSLogixReasonCode      |                                                                                                                                                  | FSLogix Reason Code.                                                 |
| [FSLogixStatusCode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FSLogixStatusCode.html)           | FSLogixStatusCode      |                                                                                                                                                  | FSLogix Status Code.                                                 |
| UInt32                                                                                                                                                    | GroupPolicyLoadTime    | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | HorizontalResolution   | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | HostPreparation        | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| Nullable\<DateTime>                                                                                                                                       | IdleStartTime          | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | IdleTime               | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | IncomingData           | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | IP                     | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | LastReconnects         | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | Latency                | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | LogonDuration          | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | LogonOthersDuration    | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| DateTime                                                                                                                                                  | LogonTime              | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [ProviderType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ProviderType.html)                     | MFAProvider            | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | OutgoingData           | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | PoolName               |                                                                                                                                                  | Group/Pool Name.                                                     |
| [SessionProtocol](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/SessionProtocol.html)               | Protocol               | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | RASPolicyLookup        | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | Reconnects             | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | RFICount               | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| List<[RouteFlowInfoEntry](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RouteFlowInfoEntry.html)>   | RFIInfoList            | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | ServerID               | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | SessionHostId          |                                                                                                                                                  | Session Host ID to which a Remote Desktop Session is connected to.   |
| String                                                                                                                                                    | SessionHostName        |                                                                                                                                                  | Session Host Name to which a Remote Desktop Session is connected to. |
| UInt32                                                                                                                                                    | SessionID              | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | SessionLength          | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [RDSessionSource](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSessionSource.html)               | Source                 |                                                                                                                                                  | The type of Remote Desktop Session.                                  |
| [SessionState](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/SessionState.html)                     | State                  | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | TemplateName           |                                                                                                                                                  | Template Name.                                                       |
| UInt32                                                                                                                                                    | ThemeID                | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [SessionType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/SessionType.html)                       | Type                   | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | User                   | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | UserProfileLoadTime    | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| [UserProfileType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UserProfileType.html)               | UserProfileType        | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | UXEvaluator            | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| UInt32                                                                                                                                                    | VerticalResolution     | Inherited from [RDPSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDPSession.html) |                                                                      |
| String                                                                                                                                                    | VMID                   |                                                                                                                                                  | VM ID to which a VDI Remote Desktop Session is connected to.         |
| String                                                                                                                                                    | VMName                 |                                                                                                                                                  | VM Name to which a VDI Remote Desktop Session is connected to.       |

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