dOPC Client Toolkit
Close
ua.client.TdOPCUAClient.UserLogin

Specifies the user authentication

property UserLogin: TuaUserLogin;
__property TuaUserLogin UserLogin;

Currently three authentication methods to logon to a server are provided:

Parameter
Description
Anonymous
(0) No user information is available
UserName
(1) A user identified by user name and password.
Certificate
(2) A user identified by an X509v3 Certificate.
IssuedToken
NOT SUPPORTED (3) A user identified by a WS-SecurityToken
Kerberos
NOT SUPPORTED (4)
// If the server needs a Username and Password use // following line and enter your authentication data OPCUAClient.UserLogin.SetUser('UserName','Password'); // If you want to login with an certificate please use following code // SetCertificate(PublicKey,PrivatKey,PrivateKeyPassword) //
OPCUAClient.UserLogin.SetCertificate('c:\mydata\MyName.der','c:\mydata\MyName.pem','mypassword');
Kassl GmbH Copyright © 2019. All rights reserved.