Salesforce Global Variables in classes UserInfo


Example

getFirstName() - returns the context user's first name.
getLastName() - returns the context user's last name.