Uiinfrastructure API Docs  
 

LoginHelper.DoTaskOnFailedLogin Method 

This function will load all of the implemented LoginActions PEIs and then process through them and call the OnFailedLogin function for each one. In general, this method should only be called by the LoginHelper itself. The only reason to call this method directly is if you are failing the login before calling the AttemptLogin method (i.e. because of a hack attempt).

public FailedLoginResult DoTaskOnFailedLogin(
   string _strUserName,
   XPException error,
   IXPRequest request,
   IWebData webData,
   IApplication application,
   ISessionManager sessionManager,
   ISessionManager persistentSessionManager
);

Parameters

_strUserName
- user that has failed the login process.
error
- the exception that caused login to fail, may be null
request
webData
application
sessionManager
persistentSessionManager

Return Value

FailedLoginResult - Error message and/or Redirect from the PEI.

See Also

LoginHelper Class | com.plumtree.uiinfrastructure.login Namespace