Leadtools.Medical.Workstation.DataAccessLayer Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsUserValid Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationDataAccessAgent Class : IsUserValid Method



userName
The user's name being verified.
password
The user's SecureString being verified
userName
The user's name being verified.
password
The user's SecureString being verified
Determines whether user information is valid. (Inherited from IWorkstationDataAccessAgent).

Syntax

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

Parameters

userName
The user's name being verified.
password
The user's SecureString being verified

Return Value

True if the user information exists in the database; otherwise it is false.

Requirements

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

See Also

Leadtools.Medical.Workstation.DataAccessLayer requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features