LogoutIdle
- Last UpdatedAug 05, 2026
- 1 minute read
Sets an idle time for logging out the current user. If the current user does not execute a command within the specified idle time, a prompt is displayed. If the prompt is ignored, then the user is logged out.
For every user to have the same idle time, you would call this function at startup. Otherwise, you can call the function from the users database to specify an idle time for each user.
Until reset, LogoutIdle remains active. To reset, call LogoutIdle(-1) from the Exit command for a user database record.
Syntax
LogoutIdle(Idle)
Idle:
The number of minutes the user needs to be idle before logout will occur. Set Idle to -1 to disable the current logout timeout.
Return Value
No return value.
Related Functions
Example
Users
|
User Name |
Operator1 |
|
LoginForm |
LogoutIdle(5) |
|
Comment |
Logs the user out after five minutes |