MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Redirect After Login Based on User Login or Group  (Mono Support )

40163 put(a) pogledan, 2 odgovor(a) 15.10.2013. 16:26:28Kreirao(la) erin0201

Povezane teme

erin0201

erin0201

15.10.2013. 16:26:28

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
Ovaj sadržaj još nije ocijenjen. 
453 Reputacija 61 Ukupno objava
iruzak

iruzak

16.10.2013. 5:52:11
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
Ovaj sadržaj još nije ocijenjen. 
443 Reputacija 50 Ukupno objava