Jaa


OwnershipTypes Enumeration

 

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

Specifies the type of ownership for an entity.

For the Web API use the OwnershipTypes EnumType.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

[DataContractAttribute(Name = "OwnershipTypes", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
[FlagsAttribute]
public enum OwnershipTypes
<DataContractAttribute(Name := "OwnershipTypes", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
<FlagsAttribute>
Public Enumeration OwnershipTypes

Members

Member name Description
BusinessOwned

The entity is owned by a business unit. For internal use only. Value = 4.

BusinessParented

The entity is parented by a business unit. For internal use only. Value = 16.

None

The entity does not have an owner. For internal use only. Value = 0.

OrganizationOwned

The entity is owned by an organization. Value = 8.

TeamOwned

The entity is owned by a team. For internal use only.Value = 2.

UserOwned

The entity is owned by a system user. Value = 1.

Remarks

The only valid values for custom entities are OrgOwned or UserOwned. For Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online, all UserOwned entities can be assigned to teams.

See Also

OwnershipType
Microsoft.Xrm.Sdk.Metadata Namespace
Entity ownership
Options available when you create a custom entity

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright