# Job_LogoffUserAndRebootWS

> Logs off user and reboots computer.

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

### Description

Logs off user and reboots computer

### Syntax

Job_LogOffUserAndRebootWS(sText) As Boolean

### Parameters

#### sText (String)

Message for the End User

### Example

**VBScript**

```vb
If bStatus Then bStatus = Job_LogOffUserAndRebootWS("You will now be logged of and your Computer will be rebooted") 
```

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

### Related functions

[Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
