GlideImpersonate is not allowed in Scoped application.
This content was last updated in 2023. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 02:10 AM
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;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 03:15 AM
I want to restrict impersonation from admin user to impersonate application users