Skip to content

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

NameTypeDescription
roleIdOpcNodeIdThe OpcNodeId of the role.
permissionsOpcPermissionsThe operations the role is permitted to perform.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe roleId is a null reference (Nothing in Visual Basic).

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 OpcPermissions

Property value

OpcPermissions

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 OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the node which represents the role.