

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

# AppserverClient Command Line Interface

## logonras

logs on to a RAS connection.

**Category: RAS-Connections**


```
AppServerClientCLI logonras -id ras:5 [-silent] [-addpubinfo] [-waitifbusy 10]
```
* **` id (mandatory) `** Specify the RAS connection ID to use.
* **` silent (optional) `** When specified, no UI will be used.
* **` addpubinfo (optional) `** Include a summary of information about the published items.
* **` waitifbusy (optional) `** Wait for a specific time in seconds if the state is busy.
## Return codes:
  ok
  NotAvailable
  InvalidId
  InvalidArgs
  ElevationAccess
  InvalidState
  Busy
  Exception
## Examples:
  AppServerClientCLI logonras -id ras:61
  AppServerClientCLI logonras -id ras:61 -silent
  AppServerClientCLI logonras -id ras:61 -silent -addpubinfo

## See also:
[logoffras](logoffras.md)
[logoffallras](logoffallras.md)
[logoffrassession](logoffrassession.md)
[startrasobj](startrasobj.md)
[savefavorites](savefavorites.md)
[disconnectras](disconnectras.md)
[disconnectallras](disconnectallras.md)
[getloggedrasinfo](getloggedrasinfo.md)
[getraspolicyinfo](getraspolicyinfo.md)
