Leadtools.Dicom.WCF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
ValidateUser Method
See Also 
Leadtools.Dicom.WCF Namespace > IManageService Interface : ValidateUser Method



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

Syntax

Visual Basic (Declaration) 
<OperationContractAttribute()>
Function ValidateUser( _
   ByVal username As String, _
   ByVal password As String, _
   ByVal extraData As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IManageService
Dim username As String
Dim password As String
Dim extraData As String
Dim value As Boolean
 
value = instance.ValidateUser(username, password, extraData)
C# 
[OperationContractAttribute()]
bool ValidateUser( 
   string username,
   string password,
   string extraData
)
C++/CLI 
[OperationContractAttribute()]
bool ValidateUser( 
   String^ username,
   String^ password,
   String^ extraData
) 

Parameters

username
A System.String representing the user name to validate.
password
A System.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: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also