Is there a way to identify / get the user Id of the actual user who is logged in as another user using the login as button? The best I can do today is to run the audit trail which gives info on who logged in as someone else, this is not a big help.
I want to block access to an external site and want to know the base user's id who has logged in as the another user. The actual user's personal data is getting exposed to the logged in user.
Its a web tab so I cannot apply sharing rules, I have delegate enabled thereby hiding a tab or any other setting on the actual user would have no effect.