Zdieľať cez


CallerImpersonationScope(IOrganizationService, Guid) Constructor

Definition

Initializes a new instance of the CallerImpersonationScope class.

public:
 CallerImpersonationScope(Microsoft::Xrm::Sdk::IOrganizationService ^ service, Guid callerId);
public CallerImpersonationScope (Microsoft.Xrm.Sdk.IOrganizationService service, Guid callerId);
new Microsoft.Xrm.Sdk.CallerImpersonationScope : Microsoft.Xrm.Sdk.IOrganizationService * Guid -> Microsoft.Xrm.Sdk.CallerImpersonationScope
Public Sub New (service As IOrganizationService, callerId As Guid)

Parameters

service
IOrganizationService

Specifies an organization service object.

callerId
Guid

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

Applies to