Share via


UserType Enum

Definition

Represents user types.

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
Inheritance
UserType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
LocalUser 0

The user is a local user.

RemoteUser 1

The user is a remote user.

LocalGuest 2

The user is a local guest.

RemoteGuest 3

The user is a remote guest.

SystemManaged 4

The user is a system managed account.

Applies to