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



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

Syntax

Visual Basic (Declaration) 
Public 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 DICOMService
Dim username As String
Dim newPassword As String
Dim extraData As String
Dim value As Boolean
 
value = instance.ResetPassword(username, newPassword, extraData)
C# 
public virtual bool ResetPassword( 
   string username,
   string newPassword,
   string extraData
)
C++/CLI 
public:
virtual bool ResetPassword( 
   String^ username,
   String^ newPassword,
   String^ extraData
) 

Parameters

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

See Also