---
id: "T:cAlgo.API.AccessRights"
kind: "enum"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Application/AccessRights/"
---

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

# AccessRights (enum)

cBots and Indicators Access Rights.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public enum AccessRights
```

## Examples

C#:

```csharp
using cAlgo.API;

namespace cAlgo
{
    // The AccessRights key of config.json sets the access rights of a cBot, an indicator or a plugin
    // The default value is None, which means your indicator/cBot will not access anything outside
    // like files, network, windows registry, etc
    // If you try to access any of aforementioned resources you will see an access right error on
    // cTrader automate logs tab if your indicator/cBot access rights were not enough.
    // The FullAccess gives you access to everything, it is like executing a .NET standalone app
    // on a Windows machine.
    // The AccessRights allows cTrader to notify the user of your indicator/cBot that it will
    // access which resources on his system, so he can decide to allow it or not
    public partial class AccessRightSample : Indicator
    {
        protected override void Initialize()
        {
        }

        public override void Calculate(int index)
        {
        }
    }
}
```

Python:

```python
class AccessRightSample():
    def initialize(self):
        api.Print(f"Running in {api.RunningMode} mode")
```

config.json:

```json
{
  "AccessRights": "FullAccess",
  "TimeZone": "UTC",
  "IsOverlay": false
}
```

## Values

- `AccessRights.None` — Algorithm doesn’t require any access rights.
- `AccessRights.FileSystem` — Access to file system.
- `AccessRights.Internet` — Access to Internet or other networks.
- `AccessRights.Registry` — Access to windows registry.
- `AccessRights.FullAccess` — The unlimited access rights.

