# OpcRolePermission Class

> Reference: Describes the operations a role is permitted to perform on a node, as stated by the RolePermissions and UserRolePermissions of the node (OPC 10000-3, RolePermissionType).

<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>Members</dt>
<dd><a href="./members">OpcRolePermission Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Describes the operations a role is permitted to perform on a node, as stated by the [RolePermissions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#rolepermissions) and [UserRolePermissions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#userrolepermissions) of the node (OPC 10000-3, RolePermissionType).

## Syntax

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

```csharp
public class OpcRolePermission
```

</div>

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

```vbnet
Public Class OpcRolePermission
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcRolePermission**

## Constructors

| Name | Description |
|---|---|
| [OpcRolePermission](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrolepermission/members#opcrolepermission) | Initializes a new instance of the OpcRolePermission class using the `roleId` and `permissions` specified. |

## Properties

| Name | Description |
|---|---|
| [Permissions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrolepermission/members#permissions) | Gets the operations the role is permitted to perform on the node. |
| [RoleId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrolepermission/members#roleid) | Gets the identifier of the role. |

## Applies to

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