Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

GlideImpersonate is not allowed in Scoped application.

vidyabb
Tera Contributor

We have a requirement to hide the application from the users who are impersonating the custom application users with respective to the specific roles in ACL . But getting an error message that impersonation is not allowed inside scoped application.

 

 

Below is the code :

if (GlideImpersonate().isImpersonating() && gs.getProperty('impersonation_check') == 'true')
answer = false;

2 REPLIES 2

I want to restrict impersonation from admin user to impersonate application users