Frequently Asked Questions – Security
How do I log in my client application with a user name and password?
For each application type there is either a login programmatic method or user interface dialog to log in the application.
- Configure OAS application: Use the LogIn from the menu.
- WPF application: Use the OPCWPFDashboard.OPCWPFLogIn component with the LogIn method. (Only need to do this once for the entire application)
- WinForm application: Use the OPCControls.OPCControlsLogIn component with the LogIn method. (Only need to do this once for the entire application)
- OPCTrend control in WPF or WinForm application: Use the LogIn method. (Need to do this for each trend control)
- OPCAlarm control in WPF or WinForm application: Use the LogIn method. (Need to do this for each trend control)
- Excel: Use the security login RTD formula generated with the OAS Excel Wizard application. (Only need to do this once for the entire Workbook)
- HTML5 Web application: Use the authentication token see the Authentication topic in the Web HMI Programming Reference-HTML5 section.