Поделиться через


IExecutionContext.OrganizationId Property

 

Applies To: Dynamics CRM 2015

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)

Syntax

Guid OrganizationId { get; }
property Guid OrganizationId {
    Guid get();
}
abstract OrganizationId : Guid with get
ReadOnly Property OrganizationId As Guid

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.

See Also

IExecutionContext Interface
Microsoft.Xrm.Sdk Namespace
Organization entities

Return to top

© 2016 Microsoft. All rights reserved. Copyright