1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
70_userManager = userManager;
9 references to _userManager
Microsoft.AspNetCore.Identity.UI (9)
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (9)
77var user = await _userManager.GetUserAsync(User); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 83RequirePassword = await _userManager.HasPasswordAsync(user); 89var user = await _userManager.GetUserAsync(User); 92return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 95RequirePassword = await _userManager.HasPasswordAsync(user); 98if (!await _userManager.CheckPasswordAsync(user, Input.Password)) 105var result = await _userManager.DeleteAsync(user); 106await _userManager.GetUserIdAsync(user);