You need to sign in to do that
Don't have an account?
dkorba2k5
Customer Portal User Context
when logging in as a customer portal user to check what we have set-up with VF/Apex, I need to have the Apex queries execute based on the portal user, not as my profile. But it seems that the userinfo.getuserid() function is still acting with my id. Is there anyway to get around this? To have it use the context of the user I'm logged in as in the portal instead of my id?
Hi,
I m having the same problem with UserInfo.getUserId(). It is not picking the portals users UserId, in fact it is picking up the admin users UserId. Here admin means the person who had logged in through force.com.