HumanPresenceSettings.LockOnLeaveTimeout 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 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.