Restricting Impersonation using ACL script

Gopika P S
Mega Contributor

Need to have an ACL script in order to restrict a group of people(say group A) from impersonating people from other group(say group B). It has to show an error message like, "This person cant be impersonated", while searching for that restricted group's person.

3 REPLIES 3

Steveanner
Tera Contributor

You can refer below solution in the below thread and adjust it accordingly as per your requirement.

https://community.servicenow.com/community?id=community_question&sys_id=af46cfa1db1cdbc01dcaf3231f9619be

 

This code says that, it wont be applicable for admin role. 

The requirement is such that, people from both group A and B is having admin role; but one group couldn't impersonate the other

Jaspal Singh
Mega Patron
Mega Patron

Hi Gopika,

Follow link. This is not via ACL but throuh Query BR. Can you confirm the need to stick with ACL approach.