> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/themeuserportalgateway.md).

# ThemeUserPortalGateway

## NAMESPACE

RASAdminEngine.Core.OutputModels.Themes.UserPortal

## DESCRIPTION

Theme User Portal Gateway Settings

## INHERITED FROM

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

⇒

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).                                                                           |
| UInt32                                                                                                                              | ClientDetectionTimeout       | Client detection timeout in seconds.                                                                                                  |
| String                                                                                                                              | ClientIPPDetectionServiceURL | Client Private IP detection service URL.                                                                                              |
| [ClipboardDirections](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/clipboarddirections.md)         | ClipboardDirection           | Clipboard direction.                                                                                                                  |
| [DetectClientMode](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/detectclientmode.md)               | DetectClientMode             | Detection mode.                                                                                                                       |
| [FileTransferControlMode](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/filetransfercontrolmode.md) | FileTransferMode             | Specifies if File Transfer option is allowed and if yes, which directions are allowed.                                                |
| [LaunchSession](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/launchsession.md)                     | 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                                                                                            |
| Boolean                                                                                                                             | UseClientIPDetectionService  | Use Client Private IP detection service.                                                                                              |

## PUBLIC METHODS

| Type        | Name                    | Description                                                                                                                            |
| ----------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Int32       | CompareTo (Object obj)  | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean     | Equals (Object obj)     | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32       | GetHashCode ()          | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type        | GetType ()              | String                                                                                                                                 |
| ToString () | ### References to Types |                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/themeuserportalgateway.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
