IMsRdpClientTransportSettings::GatewayUserSelectedCredsSource property
Sets or retrieves the user-specified Remote Desktop Gateway (RD Gateway) credential source.
This property is read/write.
Syntax
HRESULT put_GatewayUserSelectedCredsSource(
[in] ULONG ulProxyCredsSource
);
HRESULT get_GatewayUserSelectedCredsSource(
[out] ULONG *pulProxyCredsSource
);
Property value
A ULONG variable that specifies the RD Gateway authentication method. This parameter can be one of the following values.
TSC_PROXY_CREDS_MODE_USERPASS (0 (0x0))
Use a password (NTLM) as the authentication method for RD Gateway.
TSC_PROXY_CREDS_MODE_SMARTCARD (1 (0x1))
Use a smart card as the authentication method for RD Gateway.
TSC_PROXY_CREDS_MODE_ANY (4 (0x4))
Use any authentication method for RD Gateway.
Error codes
Returns S_OK if successful.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Type library |
|
DLL |
|
IID |
IID_IMsRdpClientTransportSettings is defined as 720298C0-A099-46f5-9F82-96921BAE4701 |