次の方法で共有


NewByEapMsChapv2Auth method of the PS_EapConfiguration class

Creates an Extensible Authentication Protocol (EAP) configuration object that uses the EAP Microsoft Challenge Handshake Authentication Protocol version 2 (EAP-MSCHAPv2).

Syntax

static uint32 NewByEapMsChapv2Auth(
  [in]  boolean          UseWinlogonCredential,
  [out] EapConfiguration cmdletOutput
);

Parameters

UseWinlogonCredential [in]

True to use EAP-MSCHAPv2 as the authentication method, and to use Windows logon credentials automatically when connecting; otherwise, false.

cmdletOutput [out]

When this method returns, contains the EapConfiguration object.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll

See also

PS_EapConfiguration