I have written simple extensions for IE,Firefox and Chrome which allow users to make a call to valid phone numbers on the right click and this is working fine. But I need to run this in Citrix environment and since multiple instances of the application will be running I have set some unique values in appdata folder. For that I need to read who is the current user and the appdata folder location.
Is there a way to read the complete path of the appdata folder e.g. C:\Users\<UserName>\AppData\Roaming. UserName will be changing based on the logged in user.