Click or drag to resize
AccountControllerLogin Method (LoginViewModel, String)
Logs the user in if details are correct.

Namespace: RMP.Web.Controllers
Assembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ActionResult Login(
	LoginViewModel model,
	string returnUrl
)

Parameters

model
Type: RMP.Web.ModelsLoginViewModel
The model.
returnUrl
Type: SystemString
The return URL.

Return Value

Type: ActionResult
ActionResult.
Exceptions
ExceptionCondition
ExceptionThe user name or password provided is incorrect.
See Also