Leadtools.Dicom.WCF Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ValidateUser Method
See Also 
Leadtools.Dicom.WCF Namespace > DICOMService Class : ValidateUser Method



username
A String representing the user name to validate.
password
A String representing the user password to validate.
extraData
user custom data.
username
A String representing the user name to validate.
password
A String representing the user password to validate.
extraData
user custom data.
Check if the user name and password are valid.

Syntax

Visual Basic (Declaration) 
Public Overridable Function ValidateUser( _
   ByVal username As String, _
   ByVal password As String, _
   ByVal extraData As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DICOMService
Dim username As String
Dim password As String
Dim extraData As String
Dim value As Boolean
 
value = instance.ValidateUser(username, password, extraData)
C# 
public virtual bool ValidateUser( 
   string username,
   string password,
   string extraData
)
C++/CLI 
public:
virtual bool ValidateUser( 
   String^ username,
   String^ password,
   String^ extraData
) 

Parameters

username
A String representing the user name to validate.
password
A String representing the user password to validate.
extraData
user custom data.

Return Value

true if the user name and password are valid and refer to an existing user; otherwise false.

Requirements

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

See Also

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