Represents a specific version of a document in Salesforce CRM Content or Salesforce Files. … For example, if a user only has access to a file because they have access to a record that the file is shared with, the file won’t be returned in a query such as “SELECT Id FROM ContentDocument.”