How to use impersonate function in scoped app

Mounika8
Tera Expert

Hi Everyone,

How to use these functions in scoped application.

gs.getSession().impersonate(userID);

 var sm = GlideSecurityManager.get();

2 REPLIES 2

Sajilal
Mega Sage

Please read this article as it would be helpful which has workarounds for most scoped app Issue.

https://community.servicenow.com/community?id=community_blog&sys_id=72b0f06adb3d33801cd8a345ca96194d

Please Mark as Correct if this solves your issue and also mark 👍 Helpful if it helps resolve your problem.

Thanks,
Saji

Virendra Mali
Mega Expert

HI ,

Please go through the link 

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

 

Please mark my answer correct and helpful

Regards,

Virendra