---
schema_version: "1"
id: 44f05a0c6fef9d2bffbc9afabaeb2ae61e4d2aa2b9eb6c550c1ab753d13063ab
title: ContentWorkspaceMember
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contentworkspacemember.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentworkspacemember.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: aaba835ea2f597988da6be5c968709e4fb9060306f3b3f211c339096f2f5b91c
description: Represents a member of a content library. This object is available in API version 40.0 and later.
---
# ContentWorkspaceMember

Represents a member of a content library. This object is available in API version 40.0 and later.

Manage library membership from the API.

## Supported Calls

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

## Special Access Rules

A user can create/update/delete memberships if they have the Manage Salesforce CRM Content admin perm or the Manage Library permission for the library concerned.

## Fields

| Field | Details |
| --- | --- |
| ContentWorkspaceId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the library.

This is a relationship field.

Relationship Name

ContentWorkspace

Relationship Type

Lookup

Refers To

ContentWorkspace



 |
| ContentWorkspacePermissionId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The id of the library permission or role.

This is a relationship field.

Relationship Name

ContentWorkspacePermission

Relationship Type

Lookup

Refers To

ContentWorkspacePermission



 |
| MemberId | 

Type

reference

Properties

Create, Filter, Group,Namepointing, Sort

Description

ID of the library member (the member is either a user or a group).

This is a polymorphic relationship field.

Relationship Name

Member

Relationship Type

Lookup

Refers To

Group, User



 |
| MemberType | 

Type

picklist

Properties

Filter, Group, Nillable,Restricted picklist, Sort

Description

The type of library member. Valid values are:

- G - Group
- U - User





 |

## Usage

Use this object to create, update, or delete members from a library.