TechNet
Export (0) Print
Expand All

IExecutionContext.OrganizationId Property

 

Gets the GUID of the organization that the entity belongs to and the plug-in executes under.

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

Guid OrganizationId { get; }

Property Value

Type: System.Guid

Type: Guid
The GUID of the organization that the entity belongs to and the plug-in executes under. This corresponds to the OrganizationId attribute, which is the primary key for the Organization entity.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft