Microsoft Internet Security and Acceleration Server 2004 SDK

EnableMSCHAPv2 Property of IFPCVpnNetworkL2tpPptpSettings[C++]

FPCVpnNetworkL2tpPptpSettings.EnableMSCHAPv2 [Visual Basic]

[C++]

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.

HRESULT get_EnableMSCHAPv2(
  VARIANT_BOOL* pfEnableMSCHAPv2
);

HRESULT put_EnableMSCHAPv2(
  VARIANT_BOOL fEnableMSCHAPv2
);

Parameters

pfEnableMSCHAPv2
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if MS-CHAP v2 can be used for outgoing authentication, or to VARIANT_FALSE if MS-CHAP v2 cannot be used for outgoing authentication.
fEnableMSCHAPv2
Boolean value that specifies whether MS-CHAP v2 can be used for outgoing authentication.

Return Values

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 VARIANT_FALSE.

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

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

[Visual Basic]

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.

Property EnableMSCHAPv2 As Boolean

Property Value

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

Remarks

This property is read/write. Its default value is False.

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

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

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCVpnNetworkL2tpPptpSettings