Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1002 Bytes

humanpresencesettings_islockonleaveenabled.md

File metadata and controls

26 lines (16 loc) · 1002 Bytes
-api-id -api-type
P:Windows.Devices.Sensors.HumanPresenceSettings.IsLockOnLeaveEnabled
winrt property

Windows.Devices.Sensors.HumanPresenceSettings.IsLockOnLeaveEnabled

-description

Gets or sets whether the human presence sensor can lock the PC if it detects the user has left it unattended.

-property-value

True, if lock on leave is enabled. Otherwise, false. The default is false.

-remarks

HumanPresenceFeatures.IsLockOnLeaveSupported, HumanPresenceFeatures.SupportedWakeOrLockDistancesInMillimeters, GetSupportedLockOnLeaveTimeouts, LockOnLeaveDistanceInMillimeters, LockOnLeaveTimeout

-see-also

-examples