Mono Support Redirect After Login Based on User Login or Group 

Viewed 41115 time(s), 2 post(s), 10/15/2013 4:26:28 PM - by erin0201
10/15/2013 4:26:28 PM
453 Reputation 61 Total posts


I am trying to figure out how to redirect a user to a specific page after a successful login based on the group they are in.

I have added a new page and have added the web part "Login" to the page.  I see on the page where you can set the page the users will be directed to after login, but I don't see where I can customize it so that the user is redirected based on their group.  Also, if I try to edit the new login page I created with notepad or any other web page editor, I don't even see the Login web part actually showing up on the page so I can't manually try to change the redirect action that is happening.

Per Khorvat's suggestion I'm not doing a custom project since there is too much to customize and I struggled getting past several errors last week when I tried it.  Is there another way to redirect the page after login based on the group the user is a member of?

For instance, I want users in accounts group to go to an accounts home page and users in a service group to go to a default service page.  I don't want just one basic landing page for all users.

Is there something I can manually enter into the new login.aspx page that will check the group and redirect them based on the group they are in -- basically the same way I can change what group can see what pages by changing permissions on the page in the Pages section of the admin portal?

Thanks!
Erin

1
10/16/2013 5:52:11 AM
443 Reputation 50 Total posts

Hi Erin0201,

I assume you are talking about MonoX LoginModule control, if so you can use event "LoggedInRedirect" where you can write your custom logic.

Regards,
Igor

2
This is a demo site for MonoX. Please visit Mono Software for more info.