function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
IvanWatlingIvanWatling 

Documentation For Built-In Objects

I need to fetch the role for a user using SOQL, so I need to find out the field name of the lookup on the User object and the field name of the role title on the Role object.  Where can I find the documentation for this?  I looked in the Apex Code Developer's Guide but could not find the information.
Anand@SAASAnand@SAAS
Check out http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_list.htm