UserType 列舉

定義

表示使用者類型。

public enum class UserType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UserType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UserType
var value = Windows.System.UserType.localUser
Public Enum UserType
繼承
UserType
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

LocalGuest 2

使用者是本機來賓。

LocalUser 0

使用者是本機使用者。

RemoteGuest 3

使用者是遠端來賓。

RemoteUser 1

使用者是遠端使用者。

SystemManaged 4

使用者是系統管理的帳戶。

適用於