Partilhar via


CallerImpersonationScope Constructor (IOrganizationService, Guid)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of theCallerImpersonationScope class.

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

Syntax

public CallerImpersonationScope(
    IOrganizationService service,
    Guid callerId
)
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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright