# getraspolicyinfo

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

## AppserverClient Command Line Interface

### getraspolicyinfo

returns information about the set policies.

**Category: RAS-Connections**

```
AppServerClientCLI getraspolicyinfo -id ras:65 / global policy type  
```

### Arguments

* **`id (mandatory)`** Specify either a RAS ID or a global settings type to retrieve policy information. See Notes for the list of global policy types.

### 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 getraspolicyinfo -id ras:61\
AppServerClientCLI getraspolicyinfo -id appearance

### Notes:

You can also set one of the following for global policy types as an ID:\
appearance, connection, logging, update, sso, advanced.

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