UserAccount Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UserAccount() |
Default constructor to support mocking the UserAccount class. |
UserAccount(String, String, Nullable<ElevationLevel>, LinuxUserConfiguration, WindowsUserConfiguration) |
Initializes a new instance of the UserAccount class. |
UserAccount()
- Source:
- UserAccount.cs
Default constructor to support mocking the UserAccount class.
protected UserAccount ();
Protected Sub New ()
Applies to
UserAccount(String, String, Nullable<ElevationLevel>, LinuxUserConfiguration, WindowsUserConfiguration)
- Source:
- UserAccount.cs
Initializes a new instance of the UserAccount class.
public UserAccount (string name, string password, Microsoft.Azure.Batch.Common.ElevationLevel? elevationLevel = default, Microsoft.Azure.Batch.LinuxUserConfiguration linuxUserConfiguration = default, Microsoft.Azure.Batch.WindowsUserConfiguration windowsUserConfiguration = default);
new Microsoft.Azure.Batch.UserAccount : string * string * Nullable<Microsoft.Azure.Batch.Common.ElevationLevel> * Microsoft.Azure.Batch.LinuxUserConfiguration * Microsoft.Azure.Batch.WindowsUserConfiguration -> Microsoft.Azure.Batch.UserAccount
Public Sub New (name As String, password As String, Optional elevationLevel As Nullable(Of ElevationLevel) = Nothing, Optional linuxUserConfiguration As LinuxUserConfiguration = Nothing, Optional windowsUserConfiguration As WindowsUserConfiguration = Nothing)
Parameters
- name
- String
The name of the user account.
- password
- String
The password for the user account.
- elevationLevel
- Nullable<ElevationLevel>
The elevation level of the user account.
- linuxUserConfiguration
- LinuxUserConfiguration
Additional properties used to create a user account on a Linux node.
- windowsUserConfiguration
- WindowsUserConfiguration
The Windows-specific user configuration for the user account.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應