←Select platform

ResetPassword Method

Summary

Resets a user password into a new password.

Syntax

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

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

Leadtools.Dicom.WCF Assembly