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



username
A System.String representing the user name.
oldpassword
A System.String representing the user current password.
newpassword
A System.String representing the user new password.
extraData
Custom user data.
username
A System.String representing the user name.
oldpassword
A System.String representing the user current password.
newpassword
A System.String representing the user new password.
extraData
Custom user data.
Changes a user password.

Syntax

Visual Basic (Declaration) 
<OperationContractAttribute()>
Function ChangePassword( _
   ByVal username As String, _
   ByVal oldpassword As String, _
   ByVal newpassword As String, _
   ByVal extraData As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IManageService
Dim username As String
Dim oldpassword As String
Dim newpassword As String
Dim extraData As String
Dim value As Boolean
 
value = instance.ChangePassword(username, oldpassword, newpassword, extraData)
C# 
[OperationContractAttribute()]
bool ChangePassword( 
   string username,
   string oldpassword,
   string newpassword,
   string extraData
)
C++/CLI 
[OperationContractAttribute()]
bool ChangePassword( 
   String^ username,
   String^ oldpassword,
   String^ newpassword,
   String^ extraData
) 

Parameters

username
A System.String representing the user name.
oldpassword
A System.String representing the user current password.
newpassword
A System.String representing the user new password.
extraData
Custom user data.

Return Value

true if the user password changed successfully; otherwise false.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also