RemoteCredentials Property of the IFPCVpnNetworkL2tpPptpSettings Interface

The RemoteCredentials property gets an FPCCredentials object that specifies the user name, including the domain name, and the password that are presented to the remote site for authentication.

[C++]
HRESULT get_RemoteCredentials(
	IFPCCredentials** ppCredentials
);

Parameters

ppCredentials

Address of an interface pointer that on return points to an IFPCCredentials interface that represents the credentials that are presented to the remote site for authentication.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]
Property RemoteCredentials As FPCCredentials

Property Value

Reference to an FPCCredentials object that represents the credentials that are presented to the remote site for authentication.

Remarks

This property is read-only. The credentials can be modified through the properties of the FPCCredentials object retrieved (the IFPCCredentials interface retrieved in C++). By default, no user name or password are specified.

The maximum length for the user name is UNLEN (256) characters, the maximum length for the password is PWLEN (256) characters, and the maximum length for the domain name is DNLEN (15) characters. The constants UNLEN, PWLEN, and DNLEN are defined in the Lmcons.h header file in the Platform SDK. If these limits are exceeded, the corresponding demand-dial interface will not be configured properly in the Routing and Remote Access service.

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

FPCVpnNetworkL2tpPptpSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.