Share via


OSProfile.AdminUsername Property

Definition

Gets or sets specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> Windows-only restriction: Cannot end in "." <br><br> Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> Minimum-length (Linux): 1 character <br><br> Max-length (Linux): 64 characters <br><br> Max-length (Windows): 20 characters.

[Newtonsoft.Json.JsonProperty(PropertyName="adminUsername")]
public string AdminUsername { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="adminUsername")>]
member this.AdminUsername : string with get, set
Public Property AdminUsername As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to