how to set an instance to only accept admin user login (for system upgrade)

Vicc_Lin
Kilo Contributor

my team is about to have our instance upgraded to the up-to-date version and would like to set it to only allow system admins to login just in case by the time of upgrade there might be common user login. Is there any OOB option that could be set? Any advice will be greatly appreciated.

4 REPLIES 4

Harneet Sital
Mega Sage
Mega Sage

Hey Vicc,



Please refer this thread :Restrict all user logins


Akshat Chawla
Giga Expert

Hi,



You can create a custom login page on which you can give custom message.


Hi Vicc,



This may be of use to you:



ServiceNow Share



It is a 'Maintenance Mode' application that lets you restrict user logins in a given time period (You can restrict/allow based on roles) - it can even display a message of your choice.


RajNow
ServiceNow Employee
ServiceNow Employee

Hi Vicc_Lin , you can create a custom table on your instance which will have a list of roles 'allowed' to login. Then modify login_redirect code to refer to this table. If the role (e.g. admin) exist in this table then allow login otherwise redirect users to some custom splash page.



Hope this helps.