I'm using Workbench to perform queries.
I would like to get information about the currently logged in user. In Apex we can use the UserInfo object e.g.
Id userId =UserInfo.getUserId(); User example = [SELECT CurrencyIsoCode FROM User WHERE Id =: userId];
How would I perform a SOQL query in Workbench that returns information about the currently logged in user. e.g.
SELECT CurrencyIsoCode from User Where Id = CurrentUserId?
EDIT: I thought I'd also clarify, I'm not just trying to get the currency for the currently logged in user. I am trying to query on other records (e.g. return all Accounts owned by currently logged in user). I'm also trying to do this without changing the SOQL per user. I need it to work regardless of which user executes the SOQL.