CopyMembersListRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |
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. |