+ Start a Discussion
Fusion CloudFusion Cloud 

Content Workspace Members

Is there any way to access Content Workspace Members through the API. I need to get a list of memebers for a specified Workspace.

Best Answer chosen by Admin (Salesforce Developers) 
mikefitzmikefitz

No, I asked the same question to developer support and they confirmed this object is not exposed as of spring '11

 

 

All Answers

mikefitzmikefitz

No, I asked the same question to developer support and they confirmed this object is not exposed as of spring '11

 

 

This was selected as the best answer
fgwarb_1fgwarb_1
Is this still true?  I don't see it listed, but maybe it's called something else?
VinceCVinceC
Hi fgwarb_1,
I looked today and the latest api docs (31) do not name an object that lists a Library’s membership. Only objects listed are,
ContentDocumentFeed
ContentDocumentHistory
ContentDocumentLink
ContentVersion
ContentVersionHistory
ContentWorkspace
ContentWorkspaceDoc

none of which address who has access to a library. I found this article about using the webservice api to find out which libraries a user has access to (http://developer.force.com/cookbook/recipe/querying-a-list-of-workspaces-in-salesforce-crm-content) The problem is that it only works for one user and won't return the entire list of users who have access. There are also library membership reports in the default "File and Content Reports" report folder. 
fgwarb_devfgwarb_dev
One user would work, but I think my issue is rooted in test code coverage.  I need to ensure the user I am running the test as has access to a specific library or the test will fail.  So, it looks like i've gotten myself into another "master pricebook" type test code situation.