Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone guide me to find out what Content Objects we can access via API.

Recently I found out that "ContentWorkspaceDoc" object threw object inaccessible error when we try to execute an SOQL query on this Object if the API logged In User does not have "Salesforce CRM Content User" checked.

Even though that User is a Content Library Administrator in Library without this checkbox check.

share|improve this question
up vote 2 down vote accepted

The best place to get this sort of information is the web services api docs. From the Docs:

UserPermissionsSFContentUser: Indicates whether the user is allocated one Salesforce CRM Content User License (true) or not (false). Label is Salesforce CRM User. The Salesforce CRM Content User license grants the user access to the Salesforce CRM Content application.

special access restricitions for portal users:

Customer and Partner Portal users must have the “View Content in Portal” permission in order to query and obtain content in libraries where they have access.

share|improve this answer
thanks. I knew about the Content permission for Portal but didn't found this "UserPermissionsSFContentUser" in docs. Thanks for informing. – VarunC Jan 18 '13 at 6:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.