Newer Version Available

This content describes an older version of this product. View Latest

DataUsePurposeShare

Represents a list of access levels to a data use purpose along with an explanation of the access level. This object is available in API version 45.0 and later.

Supported Calls

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

Fields

Field Name Details
AccessLevel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Level of access that the user or group has to the data use purpose. Possible values are:
  • Read
  • Edit
  • All (Except for create or update.)
ParentId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the DataUsePurpose object that is associated with this sharing entry. This field isn’t available for updates.
RowCause
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort
Description
Reason that this sharing entry exists. Write to this field when its value is omitted or set to Manual (default). We give you some of the many possible values, including:
  • Manual—The user or group has access because a user with “All” access manually shared the data use purpose with them.
  • Owner—The user is the owner of the data use purpose.
  • Rule—The user or group has access to the data use purpose via a sharing rule.
UserOrGroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
ID of the User or Group that has been given access to the data use purpose. This field isn’t available for updates.

Usage

This object lets you determine which users and groups can view or edit data use purpose owned by other users.