You need to sign in to do that
Don't have an account?
kishore64
Capture current user ID by apex in Force.com Sites
Hi Folks,
I had implemented a Force.com site and the same site i am using in session setting return URL.
When ever the user is logging out am redirecting to this site URL,at this time i want to know the current user eamil id(by using Userinfo.getUserId() am getting the user email) but here the problem is, when am querying the current user ID while logging out am getting my user email id only for all users because site had created with my user id.So, how can we get the current user email ID while logging out.
Please help me out on this.....
I had implemented a Force.com site and the same site i am using in session setting return URL.
When ever the user is logging out am redirecting to this site URL,at this time i want to know the current user eamil id(by using Userinfo.getUserId() am getting the user email) but here the problem is, when am querying the current user ID while logging out am getting my user email id only for all users because site had created with my user id.So, how can we get the current user email ID while logging out.
Please help me out on this.....