# Session

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

Session

## INHERITED FROM

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

⇒

Session

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type    | Name                      | Description                                                                         |
| ------- | ------------------------- | ----------------------------------------------------------------------------------- |
| Boolean | ApplySettingsEnabled      | Specifies if Settings need to be applied or not.                                    |
| String  | AuthToken                 | The Authentication Token of the current session.                                    |
| String  | ConnectedServer           | The Server that the current session is connected to.                                |
| UInt32  | ConnectedSiteId           | The Site ID to which the current session is connected to.                           |
| String  | Domain                    | Specifies the Domain where the Connection Broker is installed.                      |
| String  | FarmGUID                  | Specifies the Farm GUID.                                                            |
| String  | FarmName                  | Specifies the Farm Name.                                                            |
| String  | LicensingServer           | The Licensing Server.                                                               |
| Boolean | LicensingServerConnection | Specifies if the session is connected is with the Licensing Server.                 |
| Boolean | LocalAuth                 | Specifies if the user is Locally Authenticated or with RAS Connection Broker.       |
| Boolean | PrimaryBrokerConnection   | Specifies if the session is connected with the Primary Connection Broker of a Site. |
| UInt32  | SessionId                 | The ID of the current session.                                                      |
| UInt32  | SettingsId                | The current Settings ID.                                                            |
| UInt32  | UserId                    | The User ID connected to the current session.                                       |

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