function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Basically, you would have to do it in apex.
User u = [SELECT Id, Name, City, Country FROM User where Id:=UserInfo.getUserId()];
System.debug(u.Name);
System.debug(u.City);
System.debug(u.Country);
System.debug(u.Id);
Refer to the User Info Class (https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_userinfo.htm) for more info.
Thanks,
Ashish Singh