WhoAmIResponse.BusinessUnitId Property

 

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

Gets the ID of the business to which the logged on user belongs.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public Guid BusinessUnitId { get; }
Public ReadOnly Property BusinessUnitId As Guid

Property Value

Type: System.Guid

Type: Guid
The ID of the business to which the logged on user belongs. This corresponds to the BusinessUnit.BusinessUnitId attribute, which is the primary key for the BusinessUnit entity.

See Also

WhoAmIResponse Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright