Dela via


HumanPresenceSettings.IsLockOnLeaveEnabled Property

Definition

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

public:
 property bool IsLockOnLeaveEnabled { bool get(); void set(bool value); };
bool IsLockOnLeaveEnabled();

void IsLockOnLeaveEnabled(bool value);
public bool IsLockOnLeaveEnabled { get; set; }
var boolean = humanPresenceSettings.isLockOnLeaveEnabled;
humanPresenceSettings.isLockOnLeaveEnabled = boolean;
Public Property IsLockOnLeaveEnabled As Boolean

Property Value

Boolean

bool

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

Remarks

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

Applies to