Impersonation does not work with UserProfileManager

I am back after a long time and will now try to be a little more regular with my posts. Recently we worked upon a curious problem. We were using UserProfileManager in a web part and wanted to get to the private properties of a user profile. Now as the web part would be available…

2