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