MannsBlog.Data Namespace
MannsBlog.Services Namespace
MannsBlog.Services.DataProviders Namespace
MannsBlog

AdminController..::..ChangePwd Method

Changes the password.

Namespace:  MannsBlog.Controllers
Assembly:  MannsBlog (in MannsBlog.exe)

Syntax


public Task<IActionResult> ChangePwd(
	UserManager<MannsUser> userManager,
	string username,
	string oldPwd,
	string newPwd
)

Parameters

userManager
Type: UserManager<(Of <(<'MannsUser>)>)>
The user manager.
username
Type: String
The username.
oldPwd
Type: String
The old password.
newPwd
Type: String
The new password.

Return Value

Task<IActionResult>.