ModuleSecurity.UserChangePassword Method

Change user password
Public Function UserChangePassword( _ 
ByVal username As String, _ 
ByVal oldPassword As String, _ 
ByVal newPassword As String
) As Task(Of Boolean)
This language is not supported or no code example is available.
public Task<bool> UserChangePassword( 
string username
string oldPassword
string newPassword 
)
This language is not supported or no code example is available.

Parameters

username
string

User name

oldPassword
string

User old password

newPassword
string

User new password

Return Value

Task<bool>

Flag indicating whether password was changed

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition