You need to sign in to do that
Don't have an account?

In apex class what method is equivlent for {!$User.LastName}
Hi
How can i write method for same working as {!$User.LastName} in visual force page.
I also found what are the method's for
1.{!$UserRole
2.{!$User
3.{!$System
4.{!$SControl
5.{!$Profile
6.{!$Organization
7.{!$ObjectType
8.{!$Api
9.{!$Action
These are used in s-controll.I wants what are the method which can be used in apex-code.
Or you can give link where i got
Thanks & Regards
Brijesh baser
You can use userinfo.getLastName();
Thanks For your reply.
Hi,
In this website, go to http://wiki.apexdevnet.com/index.php/Apex_and_Visualforce
In the Apex section you have Apex Language Reference: Core documentation for the Apex programming language.
You can use apex language reference.
http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf