How can we check whether a user is impersonating or not in the plugin?

Hi,

I had created a custom plugin for implementing custom redirects ... If admin impersonates him he is directed to the same url that are defined in the code.

Is there any way to check  if the user is impersonating or not inside a plugin? 

on widget level $core_v2_authentication.Isimpersonated() is working . But my requirement is how can i this in a plugin.

Parents Reply Children
No Data