Partager via


UserAccount(String, String) Constructor

Definition

Initializes a new instance of UserAccount.

public UserAccount (string name, string password);
new Azure.Compute.Batch.UserAccount : string * string -> Azure.Compute.Batch.UserAccount
Public Sub New (name As String, password As String)

Parameters

name
String

The name of the user Account. Names can contain any Unicode characters up to a maximum length of 20.

password
String

The password for the user Account.

Exceptions

name or password is null.

Applies to