Share via


IFPCVpnNetworkL2tpPptpSettings::EnableMSCHAPv2 property

Applies to: desktop apps only

The EnableMSCHAPv2 property gets or sets a Boolean value that indicates whether the Microsoft Challenge Handshake Authentication Protocol version 2 (MS-CHAP v2) can be used for outgoing authentication.

This property is read/write.

Syntax

HRESULT put_EnableMSCHAPv2(
  VARIANT_BOOL fEnableMSCHAPv2
);

HRESULT get_EnableMSCHAPv2(
  VARIANT_BOOL *pfEnableMSCHAPv2
);
' Data type: Boolean

Property EnableMSCHAPv2( _
  ByVal fEnableMSCHAPv2 As VARIANT_BOOL, _
  ByVal pfEnableMSCHAPv2 As VARIANT_BOOL _
) As Boolean

Property value

Boolean value that indicates whether MS-CHAP v2 can be used for outgoing authentication.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is True (VARIANT_TRUE in C++).

All 32-bit Microsoft VPN clients support MS-CHAP v2.

The Extensible Authentication Protocol (EAP)cannot be enabled together with MS-CHAP v2, but any combination of the other authentication protocols can be enabled together with MS-CHAP v2.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCVpnNetworkL2tpPptpSettings

 

 

Build date: 7/12/2010