Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have a system where the login has different roles. How can i build a uniform login page and navigate to respective home pages after login.
You can programatically set Home Mashup for each user depending on the Role he has.
Users["userName"].SetHomeMashup({ name: "mashup_based_on_user_role" });
where should i set this?
You can have a custom service to assign a role to a user (as there isn't User related events) and on this service to the previous instruction.
Also you can have another service (to check integrity) which iterates over Users and assign the correct Home Mashup.