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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for