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 > IManageService Interface : ResetPassword Method



username
A System.String representing the user name to reset it's password.
newPassowrd
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.
newPassowrd
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) 
<OperationContractAttribute()>
Function ResetPassword( _
   ByVal username As String, _
   ByVal newPassowrd As String, _
   ByVal extraData As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IManageService
Dim username As String
Dim newPassowrd As String
Dim extraData As String
Dim value As Boolean
 
value = instance.ResetPassword(username, newPassowrd, extraData)
C# 
[OperationContractAttribute()]
bool ResetPassword( 
   string username,
   string newPassowrd,
   string extraData
)
C++/CLI 
[OperationContractAttribute()]
bool ResetPassword( 
   String^ username,
   String^ newPassowrd,
   String^ extraData
) 

Parameters

username
A System.String representing the user name to reset it's password.
newPassowrd
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