Share via


WindowsTaskCredentials(String, String, SecureString) Constructor

Definition

Initializes a new WindowsTaskCredentials object.

public:
 WindowsTaskCredentials(System::String ^ domain, System::String ^ userName, System::Security::SecureString ^ password);
public WindowsTaskCredentials (string domain, string userName, System.Security.SecureString password);
new Microsoft.EnterpriseManagement.Configuration.WindowsTaskCredentials : string * string * System.Security.SecureString -> Microsoft.EnterpriseManagement.Configuration.WindowsTaskCredentials
Public Sub New (domain As String, userName As String, password As SecureString)

Parameters

domain
String

The domain of the user.

userName
String

The user name.

password
SecureString

A SecureString that contains the password.

Applies to