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

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

# IndicatorAttribute.AccessRights

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

## AccessRights

Gets or sets the access rights required for Indicator.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
indicatorAttribute.AccessRights: AccessRights
```

### Returns

`AccessRights` — 

### Examples

C#:

```csharp
public partial class SampleIndicator : Indicator
{
    protected override void Initialize()
    {
        Print("Indicator with full access rights initialized");
    }

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

Python:

```python
def initialize(self):
    api.Print("Indicator with full access rights initialized")
```

config.json:

```json
{
  "AccessRights": "FullAccess",
  "IsOverlay": true
}
```

