Reference
OpcClient.ChangeUserIdentity Method
Changes the identity of the connected session to the identity specified without creating a new session (OPC 10000-4, ActivateSession).
Reference
OpcClient.ChangeUserIdentity Method
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
Changes the identity of the connected session to the identity specified without creating a new session (OPC 10000-4, ActivateSession).
csharp
public void ChangeUserIdentity(OpcUserIdentity identity)vbnet
Public Sub ChangeUserIdentity(identity As OpcUserIdentity)Parameters
| Name | Type | Description |
|---|---|---|
identity | OpcUserIdentity | The OpcUserIdentity to use from now on or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Invalid | The method is currently not supported, because of the license has expired. |
| Object | The object has been disposed of. |
| OpcException | The client is not connected (Badidentity, for example with Bad |
Remarks
On success the identity is also applied to the UserIdentity, so a later reconnect uses it too. If the server rejects the identity, the UserIdentity remains unchanged.

