←Select platform

ResetPassword Method

Summary

Resets a user password into a new password.

Syntax

C#
VB
C++
public bool ResetPassword( 
   string username, 
   string newPassword, 
   string extraData 
) 
  
Function ResetPassword( _ 
   ByVal username As String, _ 
   ByVal newPassword As String, _ 
   ByVal extraData As String _ 
) As Boolean 
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Services Assembly