IFPCVpnNetworkL2tpPptpSettings::RemoteCredentials property

Applies to: desktop apps only

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.

This property is read-only.

Syntax

HRESULT get_RemoteCredentials(
  IFPCCredentials **ppCredentials
);
' Data type: FPCCredentials

Property RemoteCredentials( _
  ByVal ppCredentials As IFPCCredentials _
) As FPCCredentials

Property value

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

Error codes

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

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

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