# OpcAccessControlEntry Class

> Reference: Represents the access control settings of a single OpcPrincipal in an OpcAccessControlList: the operations allowed or denied and the endpoints enabled or disabled for the principal.

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</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">OpcAccessControlEntry Members</a></dd>
</dl>

Represents the access control settings of a single [OpcPrincipal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcprincipal/) in an [OpcAccessControlList](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrollist/): the operations allowed or denied and the endpoints enabled or disabled for the principal.

## Syntax

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

```csharp
public class OpcAccessControlEntry
```

</div>

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

```vbnet
Public Class OpcAccessControlEntry
```

</div>

## Inheritance

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

## Constructors

| Name | Description |
|---|---|
| [OpcAccessControlEntry](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#opcaccesscontrolentry)<span class="api-meta">3 overloads</span> | Initializes a new instance of the OpcAccessControlEntry class using the `principal` specified. |

## Properties

| Name | Description |
|---|---|
| [AllowedOperations](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#allowedoperations) | Gets a read-only collection of the operations which have been allowed explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [DeniedOperations](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#deniedoperations) | Gets a read-only collection of the operations which have been denied explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [DisabledEndpoints](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#disabledendpoints) | Gets a read-only collection of the endpoints which have been disabled explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [EnabledEndpoints](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#enabledendpoints) | Gets a read-only collection of the endpoints which have been enabled explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [EndpointAccessMode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#endpointaccessmode) | Gets the mode which the entry uses to evaluate an endpoint which has neither been enabled nor disabled explicitly. |
| [OperationAccessMode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#operationaccessmode) | Gets the mode which the entry uses to evaluate an operation which has neither been allowed nor denied explicitly. |
| [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal) | Gets the principal the entry applies to. |

## Methods

| Name | Description |
|---|---|
| [Allow](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#allow)<span class="api-meta">4 overloads</span> | Allows the `operations` specified explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [Assign](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#assign)<span class="api-meta">2 overloads · since v2.53</span> | Assigns the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal) of the current OpcAccessControlEntry to the [OpcAccessControlRole](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolrole/) instances defined by `roles`. |
| [Deny](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#deny)<span class="api-meta">4 overloads</span> | Denies the `operations` specified explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [Disable](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#disable)<span class="api-meta">2 overloads</span> | Disables the `endpoints` specified explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [Enable](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#enable)<span class="api-meta">2 overloads</span> | Enables the `endpoints` specified explicitly for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [IsAllowed](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#isallowed)<span class="api-meta">2 overloads</span> | Determines whether the `operation` specified is allowed for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [IsDenied](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#isdenied)<span class="api-meta">2 overloads</span> | Determines whether the `operation` specified is denied for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [IsDisabled](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#isdisabled) | Determines whether the `endpoint` specified is disabled for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [IsEnabled](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#isenabled) | Determines whether the `endpoint` specified is enabled for the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal). |
| [Revoke](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#revoke)<span class="api-meta">2 overloads · since v2.53</span> | Revokes the assignment of the [Principal](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolentry/members#principal) of the current OpcAccessControlEntry to the [OpcAccessControlRole](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrolrole/) instances defined by `roles`. |

## Applies to

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