# OpcClassicIdentity Class

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

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

Represents the identity of a user used to authenticate at the host of an OPC Classic server using DCOM.

## Syntax

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

```csharp
public class OpcClassicIdentity : OpcIdentity
```

</div>

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

```vbnet
Public Class OpcClassicIdentity
    Inherits OpcIdentity
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentity/) → **OpcClassicIdentity**

## Constructors

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

## Properties

| Name | Description |
|---|---|
| [DisplayName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.classic.opcclassicidentity/members#displayname)<span class="api-meta">override</span> | Gets the name of the identity to display. |

## Methods

| Name | Description |
|---|---|
| [Impersonate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.classic.opcclassicidentity/members#impersonate)<span class="api-meta">override</span> | Impersonates the identity; not supported by a DCOM identity. |
| [ToString](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.classic.opcclassicidentity/members#tostring)<span class="api-meta">override</span> | Returns a string which represents the identity. |

Inherits members from [OpcIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentity/members).

## Applies to

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