---
schema_version: "1"
id: 9e855d8bae34813f9e93f629273ca632558e4a9514c16742a75d898430d9d282
title: ContentWorkspacePermission
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contentworkspacepermission.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentworkspacepermission.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 061e915edea4b10a54546075915b70c5b6b96bb818e8c4447c21bae405f6acce
description: Represents a library permission. This object is available in API version 40.0 and later.
---
# ContentWorkspacePermission

Represents a library permission. This object is available in API version 40.0 and later.

A library permission is a group of privileges assigned to each content library member. It determines which tasks a member can perform in a particular library. The same user can have a different library permission in each of his or her libraries.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Library permissions do not apply to personal libraries. All library users can save files in their personal libraries.

## Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(),update(), upsert()

## Special Access Rules

The ability to create permissions requires either the Manage Salesforce CRM Content admin perm or the Manage Content Permissions user perm.

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

textarea

Properties

Create, Filter, Nillable, Sort, Update

Description



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Namefield, Sort, Update

Description

Name of the library.



 |
| PermissionsAddComment | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to post comments to any content in the library and view all comments in the library. Users can edit or delete their own comments.



 |
| PermissionsAddContent | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to publish new content to the library, upload new content versions, or restore archived (deleted) content. Content authors can also change any tags associated with their content and archive or delete their own content.



 |
| PermissionsAddContentOBO | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to choose an author when publishing content in the library.



 |
| PermissionsArchiveContent | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to archive and restore any content in the library.



 |
| PermissionsChatterSharing | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to make content from this library accessible outside of the library, sharing with a record or in Chatter. From a record or from Chatter, select a file from the library and attach it to a record or a post.



 |
| PermissionsDeleteContent | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to delete any content in the library. Authors can undelete their own content from the Recycle Bin.



 |
| PermissionsDeliverContent | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to share content outside the org via a content delivery or public link.



 |
| PermissionsFeatureContent | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to identify any content in the library as “featured.”



 |
| PermissionsManageWorkspace | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to perform any action in the library. This privilege is required to edit a library’s name and description, add or remove library members, or delete a library. Manage Library is a super permission which provides all other permission options listed except Deliver Content. Creating a library requires the Manage Salesforce CRM Content app permission or Create Libraries system permission.



 |
| PermissionsModifyComments | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to edit or delete comments made to any content in the library.



 |
| PermissionsOrganizeFileAndFolder | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to create, rename, and delete folders in libraries.



 |
| PermissionsTagContent | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to add tags when publishing content or editing content details in the library.



 |
| PermissionsViewComments | 

Type

boolean

Properties

Create, Filter, Update

Description

Permission for user to view comments.



 |
| Type | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

Provides the type of access a user has to a library. Valid values are:

- Library Administrator
- Author
- Viewer
- Custom





 |