---
schema_version: "1"
id: 41f04e8a432b18345e2370988c6caf686ab34e1e59fa09c06e6b4cec3cabe8e1
title: RestrictedParty
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_restrictedparty.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_restrictedparty.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0a6bd915b23ea6d6dd301a42c857ae1f101f4d86bc56b973180754eb465d7c38
description: Represents a party such as a participant, a speaker, or a vendor that's restricted from taking part in a managed event. This object is available in API version 67.0 and later.
---
# RestrictedParty

Represents a party such as a participant, a speaker, or a vendor that's restricted from taking part in a managed event. This object is available in API version 67.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### AccountId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The ID of the account who is restricted from performing a specific role at managed events.
    
    This field is a relationship field.
- **Relationship Name**: Account
- **Refers To**: Account

### ContactId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The ID of the contact who is restricted from performing a specific role at managed events.
    
    This field is a relationship field.
- **Relationship Name**: Contact
- **Refers To**: Contact

### CountryId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the country in which the party is restricted.
    
    This field is a relationship field.
- **Relationship Name**: Country
- **Refers To**: GeoCountry

### EndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Specifies the date and time until when the restriction is effective for the party.

### ExpertId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The expert who is restricted from performing a specific role at managed events.
    
    This field is a relationship field.
- **Relationship Name**: Expert
- **Refers To**: Expert

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastVerificationDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The last date and time when the party's restricion status was verified.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record.

### LeadId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The ID of the lead who is restricted from performing a specific role at managed events.
    
    This field is a relationship field.
- **Relationship Name**: Lead
- **Refers To**: Lead

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the restricted party

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the owner of this record.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### ParticipantRoleId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The participant role that the party is restricted from performing at managed events
    
    This field is a relationship field.
- **Relationship Name**: ParticipantRole
- **Refers To**: ParticipantRole

### PartyId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The ID of the party who is restricted from performing a specific role at managed events.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Party
- **Refers To**: Account, Contact, Expert, Lead, User

### PartyType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the type of party that's restricted from taking part in managed events.

### Reason

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The reason due to which the party is restricted.

### ReasonCategory

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the type of restriction placed on the participant.

### RestrictionResolutionReason

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The reason due to which the party has been removed from restriction.

### RestrictionResolutionStatus

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the status of the process that checks whether the party can be moved from restriction

### RoleId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The role that the party is restricted from performing at managed events. If a value isn't specified, it indicates that all roles are restircted.
    
    This field is a relationship field.
- **Relationship Name**: Role
- **Refers To**: ParticipantRole

### SourceSystem

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of the external system that generated the record.

### SourceSystemIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Nillable, Sort, Update
- **Description**: The ID of the record in the external system.

### StartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Specifies the date and time from when the restriction is effective for the participant.

### StateId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the State in which the party is restricted.
    
    This field is a relationship field.
- **Relationship Name**: State
- **Refers To**: GeoState

### UsageType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the type of application that the record is for.
- **Possible values**:
    - ManagedEvent—

### UserId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The ID of the user who is restricted from performing a specific role at managed events.
    
    This field is a relationship field.
- **Relationship Name**: User
- **Refers To**: User

### VerificationType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the type of verification that's performed to determine whether the party must remain in restriction.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

RestrictedPartyFeed

Feed tracking is available for the object.

RestrictedPartyHistory

History is available for tracked fields of the object.

RestrictedPartyShare

Sharing is available for the object.