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

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

# PluginAttribute.AccessRights

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

## AccessRights

Gets or sets the access rights required for the Plugin.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
pluginAttribute.AccessRights: AccessRights
```

### Returns

`AccessRights` — 

### Examples

C#:

```csharp
public partial class NewPlugin : Plugin
{
    protected override void OnStart()
    {
        Print("Plugin started with full access rights");
    }
}
```

Python:

```python
def on_start(self):
    api.Print("Plugin started with full access rights")
```

config.json:

```json
{
  "AccessRights": "FullAccess"
}
```

