Here is a weird situation. The site works with forms based authentication. I need to get the activity feed of the current user. As you know in FBA mode login names are prefixed with
i:0#.f|provider_name. For an ActivityManager, you need a user profile. For a user profile you need a Windows login name. For that I used SPClaimProviderManager and turned that FBA login name into a Windows login name and successfully instantiated an ActivityManager. But guess what, ActivityManager uses
HttpContext.Current.User.Identity.Name in its GetActivitiesForMe method, so when I call it I get a UserNotFound exception.
What should I do?