OrganizationServiceContextExtensions.Assign Method (OrganizationServiceContext, EntityReference, EntityReference)

 

Applies To: Dynamics CRM 2013

Assigns the specified record to a new security principal (user). This changes the ownerid attribute of the instance. (Developer Extensions)

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

Syntax

public static void Assign(
    this OrganizationServiceContext context,
    EntityReference target,
    EntityReference assignee
)
public:
[ExtensionAttribute]
static void Assign(
    OrganizationServiceContext^ context,
    EntityReference^ target,
    EntityReference^ assignee
)
static member Assign : 
        context:OrganizationServiceContext *
        target:EntityReference *
        assignee:EntityReference -> unit
<ExtensionAttribute>
Public Shared Sub Assign (
    context As OrganizationServiceContext,
    target As EntityReference,
    assignee As EntityReference
)

Parameters

Remarks

This is a method wrapper for the AssignRequest and AssignResponse 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 2013

Return to top