Reference
OpcClassicIdentity Members
Represents the identity of a user used to authenticate at the host of an OPC Classic server using DCOM.
Reference
OpcClassicIdentity Members
- Type
- OpcClassicIdentity
- Namespace
- Opc.UaFx.Classic
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcIdentity.
Constructors
OpcClassicIdentity
Initializes a new instance of the OpcClassicIdentity class using the specified userName and password.
csharp
public OpcClassicIdentity(string userName, string password)vbnet
Public Sub New(userName As String, password As String)Parameters
| Name | Type | Description |
|---|---|---|
userName | String | The name of the user, optionally preceded by the domain and a backslash ( |
password | String | The password of the user. |
Properties
DisplayName
Gets the name of the identity to display.
csharp
public override string DisplayName { get; }vbnet
Public Overrides ReadOnly Property DisplayName As StringProperty value
The name of the user, preceded by the domain and a backslash if a domain has been specified.
Overrides
Methods
Impersonate
Impersonates the identity; not supported by a DCOM identity.
csharp
public override OpcImpersonationContext Impersonate()vbnet
Public Overrides Function Impersonate() As OpcImpersonationContextReturns
The method does not return.
Exceptions
| Exception | Condition |
|---|---|
| Not | The identity does not support impersonation. |
Overrides
ToString
Returns a string which represents the identity.
csharp
public override string ToString()vbnet
Public Overrides Function ToString() As StringReturns
The DisplayName in the format "DCOM-Identity=[name]".
Overrides

