I'm getting Windows users' profiles, in my webpart, doing the following:
UserProfileManager pm = new UserProfileManager(SPServiceContext.Current); SPUser spuser = web.AllUsers.GetByID(user.Id); UserProfile up = pm.GetUserProfile(spuser.LoginName);
When it comes to a FBA user, the second line will raise an exception. So, I guess there's another way to get FBA users' profile. Could anyone tell me how to do it?