how to get the username in salesforce apex page code example Example: get current logged in user id in apex UserInfo.getUserId()