I have a custom link in Salesforce that passes the session id of the currently logged in user (over HTTPS). I'd like my application to be able to take the session id and look up the username of that user (my application needs to be aware of who the user in Salesforce was).
I know I can use the session id to make authenticated REST calls. Is there a way to get information about the current user?