ConnectionCredential Constructor (String, String, Boolean)

IIS 7.0

Initializes a new instance of the ConnectionCredential class, optionally using Basic authentication.

Namespace:  Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public ConnectionCredential(
	string userName,
	string password,
	bool useBasicAuthentication
)

Parameters

userName
Type: System..::..String
The user name.
password
Type: System..::..String
The password for the specified user.
useBasicAuthentication
Type: System..::..Boolean
true to use Basic authentication; otherwise, false.

Community Additions

ADD
Show: