ConfirmEmailChangeModel.OnGetAsync Method

Confirms the email change for the specified user.
public Task<IActionResult> OnGetAsync( 
string userId
string email
string code 
)
This language is not supported or no code example is available.

Parameters

userId
string

The user ID.

email
string

The new email.

code
string

The confirmation code.

Return Value

Task<IActionResult>

The page result.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition