HumanPresenceSettings.LockOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the lock on leave options (whether a user is no longer detected by the human presence sensor) for the human presence sensor.
public:
property LockOnLeaveOptions ^ LockOptions { LockOnLeaveOptions ^ get(); };
LockOnLeaveOptions LockOptions();
public LockOnLeaveOptions LockOptions { get; }
var lockOnLeaveOptions = humanPresenceSettings.lockOptions;
Public ReadOnly Property LockOptions As LockOnLeaveOptions
Property Value
The lock on leave options for the human presence sensor.
Remarks
Introduced in the May Moment update for Windows 11, Version 22H2, Build 22621.
The user can specify their preferred lock on leave behavior in the System settings (see Launch the Windows Settings app).