Share via


HumanPresenceSettings.LockOnLeaveTimeout Property

Definition

Gets or sets the time interval a user must go undetected by the human presence sensor before the PC is considered unattended and automatically locked.

public:
 property TimeSpan LockOnLeaveTimeout { TimeSpan get(); void set(TimeSpan value); };
TimeSpan LockOnLeaveTimeout();

void LockOnLeaveTimeout(TimeSpan value);
public System.TimeSpan LockOnLeaveTimeout { get; set; }
var timeSpan = humanPresenceSettings.lockOnLeaveTimeout;
humanPresenceSettings.lockOnLeaveTimeout = timeSpan;
Public Property LockOnLeaveTimeout As TimeSpan

Property Value

The time interval a user must go undetected by the human presence sensor before the PC is considered unattended and automatically locked.

Remarks

Use GetSupportedLockOnLeaveTimeouts to retrieve the collection of intervals supported by the system.

Applies to

See also