# ThemeUserPortalGateway Class

### NAMESPACE

RASAdminEngine.Core.OutputModels.Themes.UserPortal

### DESCRIPTION

Theme User Portal Gateway Settings

### INHERITED FROM

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

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                        | Name                     | Description |                                                                                        |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------- | -------------------------------------------------------------------------------------- |
| Boolean                                                                                                                                                     | AllowAppsInNewTab        |             | Whether to allow applications in a new tab                                             |
| Boolean                                                                                                                                                     | AllowCORS                |             | Whether to allow cross-origin resource sharing                                         |
| List\<String>                                                                                                                                               | AllowedDomainsForCORS    |             | Allowed domains for cross-origin resource sharing.                                     |
| Boolean                                                                                                                                                     | AllowEmbed               |             | Whether to allow embed or not                                                          |
| Boolean                                                                                                                                                     | AllowLaunchMethod        |             | Whether to allow the user to launch session using a particular method                  |
| UInt32                                                                                                                                                      | BrowserCacheTimeInMonths |             | How long should the browser preserve the cache (in months).                            |
| [ClipboardDirections](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ClipboardDirections.html)         | ClipboardDirection       |             | Clipboard direction.                                                                   |
| [FileTransferControlMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FileTransferControlMode.html) | FileTransferMode         |             | Specifies if File Transfer option is allowed and if yes, which directions are allowed. |
| [LaunchSession](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/LaunchSession.html)                     | LaunchMethod             |             | The Launch session method                                                              |
| Boolean                                                                                                                                                     | OverrideGatewaySettings  |             | Whether to override the gateway settings for the theme                                 |
| Boolean                                                                                                                                                     | Pre2000Cred              |             | Whether to use the pre windows 2000 format                                             |

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