Reference
OpcIdentity Members
Represents the identity of a user, which is described by a token.
Reference
OpcIdentity Members
- Type
- OpcIdentity
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcIdentity
Initializes a new instance of the OpcIdentity class using the token specified.
csharp
protected OpcIdentity(object token)vbnet
Protected Sub New(token As Object)Parameters
| Name | Type | Description |
|---|---|---|
token | Object | The token which describes the identity. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The token is a null reference ( |
Properties
DisplayName
Gets the name of the identity to display.
csharp
public abstract string DisplayName { get; }vbnet
Public MustOverride ReadOnly Property DisplayName As StringProperty value
The display name of the identity.
Token
Gets the token which describes the identity.
csharp
public object Token { get; }vbnet
Public ReadOnly Property Token As ObjectProperty value
The token passed to the constructor.
Methods
Impersonate
Impersonates the user represented by the identity.
csharp
public abstract OpcImpersonationContext Impersonate()vbnet
Public MustOverride Function Impersonate() As OpcImpersonationContextReturns
The OpcImpersonationContext which undoes the impersonation.

