--- title: "system.security.logout" description: "Logs out of the client for the current user and brings the client to the login screen." --- # system.security.logout > Logs out of the client for the current user and brings the client to the login screen. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.security.logout()` ### Parameters None ### Returns Nothing ### Scope All ## Code Examples ```python title="Example #1" # This would run in a timer script to log the user out after 30 seconds of inactivity. if system.util.getInactivitySeconds() > 30: system.security.logout() ```