Dela via


UserAccount Class

Definition

A user account to create on an Azure Batch node. Tasks may be configured to execute in the security context of the user account.

public class UserAccount
type UserAccount = class
Public Class UserAccount
Inheritance
UserAccount

Constructors

UserAccount()

Default constructor to support mocking the UserAccount class.

UserAccount(String, String, Nullable<ElevationLevel>, LinuxUserConfiguration, WindowsUserConfiguration)

Initializes a new instance of the UserAccount class.

Properties

ElevationLevel

Gets or sets the elevation level of the user account.

LinuxUserConfiguration

Gets or sets additional properties used to create a user account on a Linux node.

Name

Gets or sets the name of the user account.

Password

Gets or sets the password for the user account.

WindowsUserConfiguration

Gets or sets the Windows-specific user configuration for the user account.

Applies to