QuickOPC User's Guide and Reference
WithKerberosIdentity(UAEndpointDescriptor,String,String,String) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > UAEndpointDescriptorExtension Class > WithKerberosIdentity Method : WithKerberosIdentity(UAEndpointDescriptor,String,String,String) Method
The OPC UA endpoint descriptor.
The user name associated with the credentials.
The password for the user name associated with the credentials.
The domain associated with these credentials.
Creates a copy of an endpoint descriptor, with user identity specified by Kerberos.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function WithKerberosIdentity( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal userName As String, _
   ByVal password As String, _
   ByVal domain As String _
) As UAEndpointDescriptor
'Usage
 
Dim endpointDescriptor As UAEndpointDescriptor
Dim userName As String
Dim password As String
Dim domain As String
Dim value As UAEndpointDescriptor
 
value = UAEndpointDescriptorExtension.WithKerberosIdentity(endpointDescriptor, userName, password, domain)

Parameters

endpointDescriptor
The OPC UA endpoint descriptor.
userName
The user name associated with the credentials.
password
The password for the user name associated with the credentials.
domain
The domain associated with these credentials.
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