get login user email id in salesforce code example Example: get current logged in user id in apex UserInfo.getUserId()