---
id: "P:cAlgo.API.RobotAttribute.AccessRights"
kind: "property"
type: "T:cAlgo.API.RobotAttribute"
url: "https://help.ctrader.com/ctrader-algo/references/Attributes/RobotAttribute/AccessRights/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# RobotAttribute.AccessRights

Member of [RobotAttribute](https://help.ctrader.com/ctrader-algo/references/Attributes/RobotAttribute/index.md).

## AccessRights

Gets or sets the access rights required for the cBot.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public AccessRights AccessRights {get; set;}
```

Python:

```python
robotAttribute.AccessRights: AccessRights
```

### Returns

`AccessRights` — 

### Examples

C#:

```csharp
public partial class NoAccessRobot : Robot
{
    protected override void OnStart()
    {
        Print("cBot runs without file system or network access");
    }
}
```

Python:

```python
def on_start(self):
    api.Print("cBot runs without file system or network access")
```

config.json:

```json
{
  "AccessRights": "None"
}
```

