LEADTOOLS Medical (Leadtools.Dicom.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
ChangePassword Method
See Also 
Leadtools.Dicom.Web Namespace > DicomWCFStreamer Class : ChangePassword Method



username
The user name which password want to be changed.
oldpassword
The old password of the user.
newpassword
The new user password.
extraData
User custom data.
username
The user name which password want to be changed.
oldpassword
The old password of the user.
newpassword
The new user password.
extraData
User custom data.
Changes the user password.

Syntax

Visual Basic (Declaration) 
Public 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 DicomWCFStreamer
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 bool ChangePassword( 
   string username,
   string oldpassword,
   string newpassword,
   string extraData
)
C++/CLI 
public:
bool ChangePassword( 
   String^ username,
   String^ oldpassword,
   String^ newpassword,
   String^ extraData
) 

Parameters

username
The user name which password want to be changed.
oldpassword
The old password of the user.
newpassword
The new user password.
extraData
User custom data.

Return Value

true if the user password changed successfully; otherwise false.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also