IMsRdpClientTransportSettings2::GatewayCredSharing property

Specifies or retrieves the setting for whether the Remote Desktop Gateway (RD Gateway) credential sharing feature is enabled. When the feature is enabled, the Remote Desktop ActiveX control tries to use the same credentials to authenticate to the Remote Desktop Session Host (RD Session Host) server and to the RD Gateway server.

This property is read/write.

Syntax

HRESULT put_GatewayCredSharing(
  [in]  ULONG ulProxyCredSharing
);

HRESULT get_GatewayCredSharing(
  [out] ULONG *pulProxyCredSharing
);

Property value

If set to one, credential sharing is enabled. If set to zero, credential sharing is disabled.

Error codes

Returns S_OK if successful.

Remarks

This property is used by the ActiveX control to implement a single prompt for credential sharing between the RD Session Host server and the RD Gateway server. Credential sharing does not support web-based password sharing with GatewayPassword or ClearTextPassword.

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