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 )

Viewed 18598 time(s), 2 post(s) 10/15/2013 4:26:28 PMby erin0201

Related topics

erin0201

erin0201

10/15/2013 4:26:28 PM

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
This content has not been rated yet. 
453 Reputation 61 Total posts
iruzak

iruzak

10/16/2013 5:52:11 AM
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
This content has not been rated yet. 
443 Reputation 50 Total posts