You need to sign in to do that
Don't have an account?
Pegazys
How to access Email field from User Object in Visual Force Page
Is it possible to directly access the Email field in the User Object in a Visual Force Page?
If we have to get in thru the Controller, is there a standard query for it ?
Pls. help
Thanks
Assuming you have the User standard controller as the page controller, you should just be able to write:
My Standard Controller is not User. Its a different object
Does your object have a lookup to a User? I.e. can you reach a user object from it?
No, there is no lookup to User from what I can see.
Can we access using something similar to
string fromEmail = select Email from User u where u.id = :Userinfo.getUserId()].Profile.Name;