ConfirmEmailModel.OnGetAsync Method

Confirms the email of a user with the given userId and code.
public Task<IActionResult> OnGetAsync( 
string userId
string code 
)
This language is not supported or no code example is available.

Parameters

userId
string

The userId of the user to confirm.

code
string

The code used to confirm the user.

Return Value

Task<IActionResult>

The page with a status message indicating the result of the confirmation.

.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