

![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
```
* **` id (mandatory) `** Specify a session ID to log off from.
## Return codes:
  ok
  NotAvailable
  InvalidArgs
  InvalidId
  Exception
## Examples:
  AppServerClientCLI logoffrassession -id session:545567
## Notes:
  Cannot be used with sessions created from RDP connections.
## See also:
[logonras](logonras.md)
[logoffras](logoffras.md)
[logoffallras](logoffallras.md)
[startrasobj](startrasobj.md)
[savefavorites](savefavorites.md)
[disconnectras](disconnectras.md)
[disconnectallras](disconnectallras.md)
[getloggedrasinfo](getloggedrasinfo.md)
[getraspolicyinfo](getraspolicyinfo.md)
