[SalesForce] Which object stores Content Library-Members list

Which object stores Content Library-Members list?

I need to find if current logged in user has just read(Viewer) access to a Library or write(Admin/Author) access.

Best Answer

Update: There isn't currently an object exposed with the ContentWorkspace Member details as configured against the Library.

Screenshot of the Members section from the UI:

enter image description here

I believe a SOQL query against ContentWorkspace will only return records that the current user has access to. However, this won't indicate the level of access.

Consider promoting the idea: workspace permissions


I would start with ContentWorkspaceDoc.IsOwner.

Description

Read only. Indicates whether the library owns the document and determines permissions for that document (true) or not (false). Documents can belong to more than one library, but only one library owns the document and determines its permissions.

The Data Model diagrams can be useful here.

Salesforce Content Objects Data Model

Related Topic