Custom portal restrictions

Rajkumar Bommal
Tera Contributor

Restrict a user and redirect to custom portal,
I have create an user whose role is bank manager
and i am using custom portals to manager to login, i want the manager user only access to the custom portal.

But now it is accessing portal and as well as PDI, i want to restrict manager user restrict access to my PDI

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Rajkumar Bommal 

this link has approach

Role based redirection with SPEntryPage 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Rajkumar Bommal 

 

Read: https://www.servicenow.com/community/developer-articles/role-based-redirection-with-spentrypage/ta-p...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

M Iftikhar
Kilo Sage

Hi @Rajkumar Bommal ,

To restrict your Bank Manager user so that they can only access your custom portal and not the regular platform (PDI / native UI), you can try the following steps:

  1. Restrict platform (PDI) login

    • Go to the user record.

    • Check the field Web service access only → this blocks access to the platform UI.

    • The user will still be able to log into portals (Service Portal / Custom Portal).

  2. Redirect on login (optional for safety)

    • Create a Login Rule (System Security > Login Rules).

    • Add a condition: if the user has role bank_manager, then redirect them to your custom portal URL (e.g., /bank_manager_portal).

    • This ensures they always land in the correct portal.

  3. Secure the portal access

    • Make sure your custom portal pages and widgets are set with roles (e.g., bank_manager) so only the intended users can access them.

And, you can also check the following link:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0869746

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Hi @M Iftikhar 
Login rules Module is Not in my instance