# logoffras

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

## AppserverClient Command Line Interface

### logoffras

logs off from a RAS connection.

**Category: RAS-Connections**

```
AppServerClientCLI logoffras -id ras:5 [-waitifbusy 10] [-window 12345]  
```

### Arguments

* **`id (mandatory)`** Specify the RAS connection ID to use.
* **`waitifbusy (optional)`** Wait for a specific time in seconds if the state is busy.
* **`window (optional)`** Specify the window handle that will be used as the parent to any UI required.

### Return codes:

ok - Command was successful\
NotAvailable - Communication with the client backend failed, ensure that the client is running\
InvalidId - Invalid connection, object or session ID\
InvalidState - Command failed due to invalid state, refer to the command for further information\
InvalidArgs - Some arguments are missing or invalid\
ElevationAccess - CLI process is running at a higher process privilege\
Busy - The action cannot be completed as the client is busy with another operation\
Exception - System problem

### Examples:

AppServerClientCLI logoffras AppServerCLI logoff -id ras:61

### See also:

[logonras](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/logonras)\
[logoffallras](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/logoffallras)\
[logoffrassession](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/logoffrassession)\
[startrasobj](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/startrasobj)\
[savefavorites](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/savefavorites)\
[disconnectras](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/disconnectras)\
[disconnectallras](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/disconnectallras)\
[getloggedrasinfo](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/getloggedrasinfo)\
[getraspolicyinfo](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/getraspolicyinfo)\
[getpublicipinfo](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/getpublicipinfo)\
[clearpublicipinfo](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/clearpublicipinfo)
