Forum Discussion

john john's avatar
john john
Steel Contributor
Dec 17, 2018

Conditional Home Page redirection based on the login user department

We have a sharepoint classic team , and i created a new modern page "OurCompany.aspx" and i set it as the home page for our site. then i added modern pages for each department; HR.aspx , IT.aspx, Finance.aspx , and so on..

 

now can i set a conditional home page, based on the login user department ? so if a user is inside the IT department login to the sharepoint root site "https://ourcompnay.sharepoint.com" then instead of being redirected to the site home page "OurCompany.aspx" to be redirected to "IT.aspx"??

Resources