Change a user password.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DICOMService
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)
|
Parameters
- username
-
A String representing the user name.
- oldpassword
-
A String representing the user current password.
- newpassword
-
A String representing the user new password.
- extraData
-
Custom user data.
Return Value
true if the user password changed successfully; otherwise false.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
See Also