CallerImpersonationScope Constructor (IOrganizationService, Guid)

 

Updated: November 29, 2016

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)

public CallerImpersonationScope(
	IOrganizationService service,
	Guid callerId
)

Parameters

service
Type: Microsoft.Xrm.Sdk.IOrganizationService

Type: IOrganizationService. Specifies an organization service object.

callerId
Type: System.Guid

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: