Partager via


OwnershipTypes Enum

Definition

Specifies the type of ownership for an entity.

For the Web API use the OwnershipTypes EnumType.

This enumeration supports a bitwise combination of its member values.

public enum class OwnershipTypes
[System.Flags]
[System.Runtime.Serialization.DataContract(Name="OwnershipTypes", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum OwnershipTypes
[<System.Flags>]
[<System.Runtime.Serialization.DataContract(Name="OwnershipTypes", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type OwnershipTypes = 
Public Enum OwnershipTypes
Inheritance
OwnershipTypes
Attributes

Fields

Name Value Description
None 0

The entity does not have an owner. Value = 0.

UserOwned 1

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

TeamOwned 2

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

BusinessOwned 4

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

OrganizationOwned 8

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

BusinessParented 16

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

Filtered 32

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.

Applies to

See also