Logs out of the MedicalViewer and returns to the Login page.
public Leadtools.Medical.Webviewer.Externalcontrol.ControllerReturnCode UserLogout()Public Function UserLogout() As Leadtools.Medical.Webviewer.Externalcontrol.ControllerReturnCodepublic:Leadtools.Medical.Webviewer.Externalcontrol.ControllerReturnCode UserLogout();
Imports LeadtoolsImports Leadtools.ExamplesImports Leadtools.Medical.WebViewer.ExternalControlPrivate Sub MedicalWebViewerExternalController_UserLogout()Dim applicationName As StringDim version As StringDim externalControlPort As Integer = 500Const jonesPatientId As String = "12341234"Dim username As String = "bob"Dim password As String = "bob"Dim viewerUrl As String = "http://localhost/MedicalViewer/"Dim controller As New MedicalWebViewerExternalController(viewerUrl)applicationName = String.Emptyversion = String.Emptycontroller.InitApplication(applicationName, version, externalControlPort)controller.SelectedBrowser = MedicalWebViewerBrowser.GoogleChrome' Login and display a patient, then logoutcontroller.UserLogin(username, password)controller.ShowPatient(jonesPatientId)controller.UserLogout()Dim sMsg As String = String.Format("HTML5 Medical Viewer should be now be on the 'Log In' page'")MessageBox.Show(sMsg)controller.CloseApplication()' Shutdown the command queuecontroller.Shutdown()End Sub
using Leadtools;using Leadtools.Examples;using Leadtools.Medical.WebViewer.ExternalControl;private void MedicalWebViewerExternalController_UserLogout(){string applicationName;string version;int externalControlPort = 500;const string jonesPatientId = "12341234";string username = "bob";string password = "bob";string viewerUrl = "http://localhost/MedicalViewer/";MedicalWebViewerExternalController controller = new MedicalWebViewerExternalController(viewerUrl);controller.InitApplication(out applicationName, out version, externalControlPort);controller.SelectedBrowser = MedicalWebViewerBrowser.GoogleChrome;// Login and display a patient, then logoutcontroller.UserLogin(username, password);controller.ShowPatient(jonesPatientId);controller.UserLogout();string sMsg = string.Format("HTML5 Medical Viewer should be now be on the 'Log In' page'");MessageBox.Show(sMsg);controller.CloseApplication();// Shutdown the command queuecontroller.Shutdown();}
|
Products |
Support |
Feedback: UserLogout Method - Leadtools.Medical.WebViewer.ExternalControl |
Introduction |
Help Version 19.0.2017.3.22
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.