共用方式為


BasicAuthModel(String, String) Constructor

Definition

Initializes a new instance of BasicAuthModel.

public BasicAuthModel (string userName, string password);
new Azure.ResourceManager.SecurityInsights.Models.BasicAuthModel : string * string -> Azure.ResourceManager.SecurityInsights.Models.BasicAuthModel
Public Sub New (userName As String, password As String)

Parameters

userName
String

The user name.

password
String

The password.

Exceptions

userName or password is null.

Applies to