IMsRdpClientTransportSettings2::GatewayUserName property

Specifies or retrieves the user name that is provided to the Remote Desktop Gateway (RD Gateway) server.

This property is read/write.

Syntax

HRESULT put_GatewayUserName(
  [in]  BSTR proxyUserName
);

HRESULT get_GatewayUserName(
  [out] BSTR *pProxyUserName
);

Property value

The user name that is provided to connect to the RD Gateway server.

Error codes

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client
Windows Vista with SP1
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientTransportSettings2 is defined as 67341688-D606-4c73-A5D2-2E0489009319

See also

IMsRdpClientTransportSettings

IMsRdpClientTransportSettings2