UserPresenceStatus Enum

Definition

Defines values that represent the user status associated with the app's session.

public enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class UserPresenceStatus
[Windows.Foundation.Metadata.Version(1)]
public enum UserPresenceStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum UserPresenceStatus
var value = Microsoft.Windows.System.Power.UserPresenceStatus.present
Public Enum UserPresenceStatus
Inheritance
UserPresenceStatus
Attributes

Fields

Absent 1

The user is absent.

Present 0

The user is present.

Remarks

This enum corresponds to the GUID_SESSION_USER_PRESENCE power setting GUID.

Applies to

See also