CopyMembersListRequest Class

Definition

Contains the data that is needed to copy the members from the source list to the target list without creating duplicates.

public ref class CopyMembersListRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class CopyMembersListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type CopyMembersListRequest = class
    inherit OrganizationRequest
Public NotInheritable Class CopyMembersListRequest
Inherits OrganizationRequest
Inheritance
CopyMembersListRequest
Attributes

Remarks

This message requires Dynamics 365 Sales.

For the Web API use the CopyMembersList action.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which will return an instance of CopyMembersListResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges on the List table and access rights on the records specified in the SourceListId property and the TargetListId property. The following privileges are required: prvAppendAccount, prvAppendContact, prvAppendLead, prvAppendToList, prvReadAccount, prvReadContact, prvReadLead, and prvReadList.

Notes for Callers

The type of table contained in the source and target lists must match. The entity type is specified in the List.CreatedFromCode attribute. The OptionSet values for this attribute are 1 (Account), 2 (Contact), and 4 (Lead).

Constructors

CopyMembersListRequest()

Initializes a new instance of the CopyMembersListRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
SourceListId

Gets or sets the ID of the source list. Required.

TargetListId

Gets or sets the ID of the target list. Required.

Applies to

See also