# OpcPermissions Enum

<span class="api-meta">since v2.58</span>

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Specifies the operations a role is permitted to perform on a node (OPC 10000-3, PermissionType).

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public enum OpcPermissions
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
<Flags>
Public Enum OpcPermissions
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [ValueType](https://learn.microsoft.com/dotnet/api/system.valuetype) → [Enum](https://learn.microsoft.com/dotnet/api/system.enum) → **OpcPermissions**

## Fields

| Name | Value | Description |
|---|---|---|
| <a id="addnode"></a>`AddNode` | `65536` | Nodes can be added with the node as their parent. |
| <a id="addreference"></a>`AddReference` | `8192` | References can be added to the node. |
| <a id="browse"></a>`Browse` | `1` | The node can be browsed and its attributes, other than the value and the role permissions, can be read. |
| <a id="call"></a>`Call` | `4096` | A method can be called. |
| <a id="deletehistory"></a>`DeleteHistory` | `1024` | Values or events can be deleted from the history. |
| <a id="deletenode"></a>`DeleteNode` | `32768` | The node can be deleted. |
| <a id="inserthistory"></a>`InsertHistory` | `256` | Values or events can be inserted into the history. |
| <a id="modifyhistory"></a>`ModifyHistory` | `512` | Values or events of the history can be modified. |
| <a id="none"></a>`None` | `0` | No operation is permitted. |
| <a id="read"></a>`Read` | `32` | The current value of a variable can be read. |
| <a id="readhistory"></a>`ReadHistory` | `128` | The history of a variable or the events of an object can be read. |
| <a id="readrolepermissions"></a>`ReadRolePermissions` | `2` | The [RolePermissions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#rolepermissions) of the node can be read. |
| <a id="receiveevents"></a>`ReceiveEvents` | `2048` | The events of an object can be received. |
| <a id="removereference"></a>`RemoveReference` | `16384` | References can be removed from the node. |
| <a id="write"></a>`Write` | `64` | The current value of a variable can be written. |
| <a id="writeattribute"></a>`WriteAttribute` | `4` | The attributes of the node that are writable can be written, other than the value, the historizing and the role permissions. |
| <a id="writehistorizing"></a>`WriteHistorizing` | `16` | The [IsHistorizing](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#ishistorizing) of the node can be written. |
| <a id="writerolepermissions"></a>`WriteRolePermissions` | `8` | The [RolePermissions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#rolepermissions) of the node can be written. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.58–v2.59 |
