AccountControllerLogin Method (LoginViewModel, String) |
Logs the user in if details are correct.
Namespace: RMP.Web.ControllersAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ActionResult Login(
LoginViewModel model,
string returnUrl
)
Public Function Login (
model As LoginViewModel,
returnUrl As String
) As ActionResult
public:
ActionResult^ Login(
LoginViewModel^ model,
String^ returnUrl
)
member Login :
model : LoginViewModel *
returnUrl : string -> ActionResult
Parameters
- model
- Type: RMP.Web.ModelsLoginViewModel
The model. - returnUrl
- Type: SystemString
The return URL.
Return Value
Type:
ActionResultActionResult.
Exceptions Exception | Condition |
---|
Exception | The user name or password provided is incorrect. |
See Also