Share via


OrganizationServiceContextExtensions.ReassignObjectsSystemUser Method (OrganizationServiceContext, Guid, EntityReference)

 

Applies To: Dynamics CRM 2015

Reassigns all records that are owned by the user to another security principal (user or team). (Developer Extensions)

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

Syntax

public static void ReassignObjectsSystemUser(
    this OrganizationServiceContext context,
    Guid userId,
    EntityReference reassignPrincipal
)
public:
[ExtensionAttribute]
static void ReassignObjectsSystemUser(
    OrganizationServiceContext^ context,
    Guid userId,
    EntityReference^ reassignPrincipal
)
static member ReassignObjectsSystemUser : 
        context:OrganizationServiceContext *
        userId:Guid *
        reassignPrincipal:EntityReference -> unit
<ExtensionAttribute>
Public Shared Sub ReassignObjectsSystemUser (
    context As OrganizationServiceContext,
    userId As Guid,
    reassignPrincipal As EntityReference
)

Parameters

Remarks

This is a method wrapper for the ReassignObjectsSystemUserRequest and ReassignObjectsSystemUserResponse 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