Changes a user password.
public virtual bool ChangePassword(
string ,
string ,
string ,
string
)
'Declaration
Public Overridable Function ChangePassword( _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String _
) As Boolean
'Usage
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)
public:
virtual bool ChangePassword(
String^ ,
String^ ,
String^ ,
String^
)
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 was changed successfully; otherwise false.