Connectivity Software User's Guide and Reference
UserIdentityInfo Property (UAClientSessionParameters)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAClientSessionParameters Class : UserIdentityInfo Property
Specifies user's identity info, using one or more user token infos, such as anonymous, username, Kerberos, or X.509 certificate tokens.
Syntax
'Declaration
 
Public Property UserIdentityInfo As UserIdentityInfo
'Usage
 
Dim instance As UAClientSessionParameters
Dim value As UserIdentityInfo
 
instance.UserIdentityInfo = value
 
value = instance.UserIdentityInfo
public UserIdentityInfo UserIdentityInfo {get; set;}
public:
property UserIdentityInfo^ UserIdentityInfo {
   UserIdentityInfo^ get();
   void set (    UserIdentityInfo^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

In order to obtain or modify this parameter, in the default state (when $(memberUrl equals to false), access UAClientAdaptableParameters.SessionParameters property of static $(memberUrl. If you have set $(memberUrl to true, you need to access UAClientAdaptableParameters.SessionParameters property of $(memberUrl.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also