OrganizationServiceContextExtensions.CopyMembersList Method (OrganizationServiceContext, Guid, Guid)


Applies To: Dynamics CRM 2015

Copies the members from the source list to the target list without creating duplicates. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)


public static void CopyMembersList(
    this OrganizationServiceContext context,
    Guid sourceListId,
    Guid targetListId
static void CopyMembersList(
    OrganizationServiceContext^ context,
    Guid sourceListId,
    Guid targetListId
static member CopyMembersList : 
        context:OrganizationServiceContext *
        sourceListId:Guid *
        targetListId:Guid -> unit
Public Shared Sub CopyMembersList (
    context As OrganizationServiceContext,
    sourceListId As Guid,
    targetListId As Guid


  • sourceListId
    Type: System.Guid

    The ID of the source list. Required.

  • targetListId
    Type: System.Guid

    The ID of the target list. Required.


This is a method wrapper for the CopyMembersListRequest and CopyMembersListResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright