UserAccount interface
代表 UserAccount 的介面。
屬性
| elevation |
用戶帳戶的提高許可權層級。 預設值為 nonAdmin。 可能的值包括:'nonAdmin'、'admin' |
| linux |
用戶帳戶的 Linux 特定用戶設定。 如果在 Windows 集區上指定,則會忽略這個屬性。 如果未指定,則會使用預設選項建立使用者。 |
| name | 用戶帳戶的名稱。 |
| password | 用戶帳戶的密碼。 |
| windows |
用戶帳戶的 Windows 特定用戶設定。 只有在用戶位於 Windows 集區時,才能指定這個屬性。 如果未指定且在 Windows 集區上,則會使用預設選項建立使用者。 |
屬性詳細資料
elevationLevel
用戶帳戶的提高許可權層級。 預設值為 nonAdmin。 可能的值包括:'nonAdmin'、'admin'
elevationLevel?: ElevationLevel
屬性值
linuxUserConfiguration
用戶帳戶的 Linux 特定用戶設定。 如果在 Windows 集區上指定,則會忽略這個屬性。 如果未指定,則會使用預設選項建立使用者。
linuxUserConfiguration?: LinuxUserConfiguration
屬性值
name
用戶帳戶的名稱。
name: string
屬性值
string
password
用戶帳戶的密碼。
password: string
屬性值
string
windowsUserConfiguration
用戶帳戶的 Windows 特定用戶設定。 只有在用戶位於 Windows 集區時,才能指定這個屬性。 如果未指定且在 Windows 集區上,則會使用預設選項建立使用者。
windowsUserConfiguration?: WindowsUserConfiguration