How to get current logged in users id in apex ? code example Example: apex get current user id UserInfo.getUserId()