# logoffrassession

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

## AppserverClient Command Line Interface

### logoffrassession

logs off from a session created from a RAS connection.

**Category: RAS-Connections**

```
AppServerClientCLI logoffrassession -id session:545567  
```

### Arguments

* **`id (mandatory)`** Specify a session ID to log off from.

### Return codes:

ok - Command was successful\
NotAvailable - Communication with the client backend failed, ensure that the client is running\
InvalidArgs - Some arguments are missing or invalid\
InvalidId - Invalid connection, object or session ID\
Exception - System problem

### Examples:

AppServerClientCLI logoffrassession -id session:545567

### Notes:

Cannot be used with sessions created from RDP connections.

### See also:

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