EnableCHAP Property of the IFPCVpnPPPSettings Interface

The EnableCHAP property gets or sets a Boolean value that indicates whether the Challenge Handshake Authentication Protocol (CHAP) is enabled. CHAP is a challenge/response authentication protocol for Point-to-Point Protocol (PPP) connections that applies the Message Digest 5 (MD-5) hashing algorithm to a combination of the challenge string issued by the authenticating server and the user's password, and then sends the result in the response.

[C++]
HRESULT put_EnableCHAP(
	VARIANT_BOOL fEnableCHAP
);
HRESULT get_EnableCHAP(
	VARIANT_BOOL* pfEnableCHAP
);

Parameters

pfEnableCHAP

Pointer to a Boolean variable that is set on return to VARIANT_TRUE if CHAP is enabled, or to VARIANT_FALSE if CHAP is disabled.

fEnableCHAP

Boolean value that specifies whether CHAP is enabled.

Return Value

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

[Visual Basic]
Property EnableCHAP As Boolean

Property Value

Boolean value that indicates whether CHAP is enabled.

Remarks

This property is read/write. Its default value is False (VARIANT_FALSE in C++).

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCVpnPPPSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]