# Sys_LogOffUser

> Logs off the user on the client.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/system-functions/sys-logoffuser/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Logs off user

### Syntax

Sys_LogOffUser() As Boolean

### Example

**VBScript**

```vb
If bStatus Then bStatus = Sys_LogOffUser()
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Sys_UserLoggedOn](/capainstaller/vb-scripting-library/system-functions/sys-userloggedon/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
