I would like to know if there is a way to find out in APEX when an particular user is logged in directly or via the "Login As" feature from the organization's user list. The UserInfo class doesn't seem to provide any methods for this purpose and i need to know this in my apex code.
thanks in advance
As far as I know this isn't possible with salesforce.