Reference
OpcRolePermission Members
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).
Reference
OpcRolePermission Members
- Type
- OpcRolePermission
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcRolePermission
Initializes a new instance of the OpcRolePermission class using the roleId and permissions specified.
csharp
public OpcRolePermission(OpcNodeId roleId, OpcPermissions permissions)vbnet
Public Sub New(roleId As OpcNodeId, permissions As OpcPermissions)Parameters
| Name | Type | Description |
|---|---|---|
roleId | OpcNodeId | The OpcNodeId of the role. |
permissions | OpcPermissions | The operations the role is permitted to perform. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The roleId is a null reference ( |
Properties
Permissions
Gets the operations the role is permitted to perform on the node.
csharp
public OpcPermissions Permissions { get; }vbnet
Public ReadOnly Property Permissions As OpcPermissionsProperty value
A combination of the members defined by the OpcPermissions enumeration.
RoleId
Gets the identifier of the role.
csharp
public OpcNodeId RoleId { get; }vbnet
Public ReadOnly Property RoleId As OpcNodeIdProperty value
The OpcNodeId of the node which represents the role.

