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



username
A String representing the user name.
oldpassword
A String representing the user current password.
newpassword
A String representing the user new password.
extraData
Custom user data.
username
A String representing the user name.
oldpassword
A String representing the user current password.
newpassword
A String representing the user new password.
extraData
Custom user data.
Change a user password.

Syntax

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

Parameters

username
A String representing the user name.
oldpassword
A String representing the user current password.
newpassword
A String representing the user new password.
extraData
Custom user data.

Return Value

true if the user password changed successfully; otherwise false.

Requirements

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

See Also

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