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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > UAEndpointDescriptorExtension Class > WithKerberosIdentity Method : WithKerberosIdentity(UAEndpointDescriptor,String,String) Method
The OPC UA endpoint descriptor.
The username associated with the credentials.
The password for the username associated with the 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 _
) As UAEndpointDescriptor
'Usage
 
Dim endpointDescriptor As UAEndpointDescriptor
Dim userName As String
Dim password As String
Dim value As UAEndpointDescriptor
 
value = UAEndpointDescriptorExtension.WithKerberosIdentity(endpointDescriptor, userName, password)
[Extension()]
[NotNull()]
public static UAEndpointDescriptor WithKerberosIdentity( 
   UAEndpointDescriptor endpointDescriptor,
   string userName,
   string password
)
[Extension()]
[NotNull()]
public:
static UAEndpointDescriptor^ WithKerberosIdentity( 
   UAEndpointDescriptor^ endpointDescriptor,
   String^ userName,
   String^ password
) 

Parameters

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