Processes login request
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public Task<ActionResult> LogOn( string userName, string password, bool rememberMe, string returnUrl )
Parameters
- userName
- Type: SystemString
value to pre-fill with "Username" field - password
- Type: SystemString
value to pre-fill the "Password" field - rememberMe
- Type: SystemBoolean
value to pre-select the "Remember Me" checkbox - returnUrl
- Type: SystemString
Url to redirect to (default site homepage if missing)
Return Value
Type: TaskActionResultRedirect to login form (login failure), specified url or site home page
Remarks
See Also