你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Name Description
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

Name Description
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