Leadtools.Dicom.Web Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UserName Property
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerStreamer Class : UserName Property



Gets or Sets the user login name.

Syntax

Visual Basic (Declaration) 
Public Property UserName As String
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerStreamer
Dim value As String
 
instance.UserName = value
 
value = instance.UserName
C# 
public string UserName {get; set;}
C++/CLI 
public:
property String^ UserName {
   String^ get();
   void set (String^ value);
}

Return Value

A String value for the user login name to be authenticated by the WCF Service.

Example

Please check our Medical Web Viewer demo, located in WinForms.csproj project.

Remarks

The UserName and Password properties are used to give the MedicalWebViewerStreamer object the user account accessing the WCF service for authentication and authorization.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

UserName requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features