# getloggedrasinfo

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

## AppserverClient Command Line Interface

### getloggedrasinfo

gets information about an already logged on RAS connection.

**Category: RAS-Connections**

```
AppServerClientCLI getloggedrasinfo -id ras:5 [-addpubinfo]  
```

### Arguments

* **`id (mandatory)`** Specify the RAS connection ID to use.
* **`addpubinfo (optional)`** Include a summary of information about the published items.

### 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\
InvalidArgs - Some arguments are missing or invalid\
InvalidState - Command failed due to invalid state, refer to the command for further information\
Exception - System problem

### Examples:

AppServerClientCLI getloggedrasinfo -id ras:61

### Notes:

The connection needs to be logged in to.

### 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)\
[logoffrassession](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/logoffrassession)\
[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)\
[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)
