Handle web application behavior after successful user logon

jdemejdeme Member Posts: 12
edited 2007-02-08 in Dynamics AX
Hello

I have a question regarding the behavior of a web application after the
successful user login.
In Axapta 3.0 you could handle such cases by overloading the logon() method
of the webSession class.
How is this feasible in Axapta 4.0?

In more detail I would like to do the following:

After successful user log in I want the user, if belonging to a certain user
group, to get as a first page a custom-made web page which i created.

I've already tried to do that by placing some code in the userLoggedOn()
method of the WebApplication class, with obviously no success. The code which
I added look like this:

WebLink link = new WebLink();
;

if(certain condition)
{
link.MenuFunction(new webUrlMenuFunction(webUrlItemStr(myWebFormName)));
webSession().Redirect(link);
}

Any help or ideas would be greatly appreciated!

Joanna
jdeme
Sign In or Register to comment.