106 references to User
Microsoft.AspNetCore.Identity.UI (106)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (4)
98var user = await _userManager.GetUserAsync(User); 101return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 120var user = await _userManager.GetUserAsync(User); 123return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (4)
77var user = await _userManager.GetUserAsync(User); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 89var user = await _userManager.GetUserAsync(User); 92return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (4)
52var user = await _userManager.GetUserAsync(User); 55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 68var user = await _userManager.GetUserAsync(User); 71return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (2)
52var user = await _userManager.GetUserAsync(User); 55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (6)
112var user = await _userManager.GetUserAsync(User); 115return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 124var user = await _userManager.GetUserAsync(User); 127return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 159var user = await _userManager.GetUserAsync(User); 162return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (4)
105var user = await _userManager.GetUserAsync(User); 108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 118var user = await _userManager.GetUserAsync(User); 121return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (7)
86var user = await _userManager.GetUserAsync(User); 89return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 109var user = await _userManager.GetUserAsync(User); 112return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 134var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl, _userManager.GetUserId(User)); 140var user = await _userManager.GetUserAsync(User); 143return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (4)
60var user = await _userManager.GetUserAsync(User); 63return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 77var user = await _userManager.GetUserAsync(User); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (4)
93var user = await _userManager.GetUserAsync(User); 96return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 105var user = await _userManager.GetUserAsync(User); 108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\PersonalData.cshtml.cs (2)
39var user = await _userManager.GetUserAsync(User); 42return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (4)
55var user = await _userManager.GetUserAsync(User); 58return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 66var user = await _userManager.GetUserAsync(User); 69return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (4)
85var user = await _userManager.GetUserAsync(User); 88return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 108var user = await _userManager.GetUserAsync(User); 111return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (4)
78var user = await _userManager.GetUserAsync(User); 81return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 94var user = await _userManager.GetUserAsync(User); 97return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (4)
98var user = await _userManager.GetUserAsync(User); 101return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 120var user = await _userManager.GetUserAsync(User); 123return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (4)
77var user = await _userManager.GetUserAsync(User); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 89var user = await _userManager.GetUserAsync(User); 92return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (4)
52var user = await _userManager.GetUserAsync(User); 55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 68var user = await _userManager.GetUserAsync(User); 71return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (2)
52var user = await _userManager.GetUserAsync(User); 55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (6)
112var user = await _userManager.GetUserAsync(User); 115return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 124var user = await _userManager.GetUserAsync(User); 127return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 159var user = await _userManager.GetUserAsync(User); 162return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (4)
105var user = await _userManager.GetUserAsync(User); 108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 118var user = await _userManager.GetUserAsync(User); 121return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (7)
86var user = await _userManager.GetUserAsync(User); 89return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 109var user = await _userManager.GetUserAsync(User); 112return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 134var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl, _userManager.GetUserId(User)); 140var user = await _userManager.GetUserAsync(User); 143return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (4)
60var user = await _userManager.GetUserAsync(User); 63return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 77var user = await _userManager.GetUserAsync(User); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (4)
93var user = await _userManager.GetUserAsync(User); 96return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 105var user = await _userManager.GetUserAsync(User); 108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\PersonalData.cshtml.cs (2)
39var user = await _userManager.GetUserAsync(User); 42return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (4)
55var user = await _userManager.GetUserAsync(User); 58return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 66var user = await _userManager.GetUserAsync(User); 69return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (4)
85var user = await _userManager.GetUserAsync(User); 88return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 108var user = await _userManager.GetUserAsync(User); 111return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (4)
78var user = await _userManager.GetUserAsync(User); 81return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 94var user = await _userManager.GetUserAsync(User); 97return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");