Is it possible to prevent certain users from logging in via login.do?

Meloper
Kilo Sage

Business Case: We need to prevent certain users from logging into ServiceNow.

 

We could flag them as Web Service Access Only but that would not be right.
WE could write a BR that performs a direct logout, but that would be too dangerous for me.
WE could also do without login.do and just use SSO but we don't want that.

 

Therefore the question, is it possible to set users or add them to a group, so that you can impersonate them, but you can not log in with USername and Password via login.do.
Impersonating would also not be a must.

 

Basically we want to prevent via internal integration users that are only there to run Scheudeld jobs, that someone who would have the PW... can log in.

 

Thanks for your time

 

 

1 REPLY 1

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Meloper ,

 

Can u try the below link if it helps(Untested)

 

https://servicenowguru.com/system-definition/custom-login-validation-installation-exits/

 

Thanks,

Danish