Share via


CallerImpersonationScope Constructor (IOrganizationService, Guid)

 

Applies To: Dynamics CRM 2015

Initializes a new instance of the CallerImpersonationScope class.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public CallerImpersonationScope(
    IOrganizationService service,
    Guid callerId
)
public:
CallerImpersonationScope(
    IOrganizationService^ service,
    Guid callerId
)
new : 
        service:IOrganizationService *
        callerId:Guid -> CallerImpersonationScope
Public Sub New (
    service As IOrganizationService,
    callerId As Guid
)

Parameters

  • callerId
    Type: System.Guid

    Type: Guid. Specifies the ID of the user that owns any data changes made by a call to the service.

See Also

CallerImpersonationScope Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright