Leadtools.Dicom.Services Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ResetPassword Method
See Also 
Leadtools.Dicom.Services Namespace > IDICOMManage Interface : ResetPassword Method



username
A String representing the user name to reset it's password.
newPassword
A String representing the new password to set for the user.
extraData
User custom data.
Reset a user password into a new password.

Syntax

Visual Basic (Declaration) 
Overridable Function ResetPassword( _
   ByVal username As String, _
   ByVal newPassword As String, _
   ByVal extraData As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IDICOMManage
Dim username As String
Dim newPassword As String
Dim extraData As String
Dim value As Boolean
 
value = instance.ResetPassword(username, newPassword, extraData)
C# 
virtual bool ResetPassword( 
   string username,
   string newPassword,
   string extraData
)
C++/CLI 
virtual bool ResetPassword( 
   String^ username,
   String^ newPassword,
   String^ extraData
) 

Parameters

username
A String representing the user name to reset it's password.
newPassword
A String representing the new password to set for the user.
extraData
User custom data.

Return Value

true if the user password has been changed to the specified password successfully; otherwise false.

Remarks

This method should only be used by administrators users

Requirements

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

See Also

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