Share via


SecurityTypes Enum

Definition

Describes the security type for the relationship.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0

No security privileges are checked during create or update operations. Value = 0.

Append 1

The Append and AppendTo privileges are checked for create or update operations. Value = 1.

ParentChild 2

Security for the referencing entity record is derived from the referenced entity record. Value = 2.

Pointer 4

Security for the referencing entity record is derived from a pointer record. Value = 4.

Inheritance 8

The referencing entity record inherits security from the referenced security record. Value = 8.

Remarks

For the Web API use the SecurityTypes enum type.

This enumeration is used for the RelationshipMetadataBase.SecurityTypes property. This value is set by the system. You should not set this value.

Remarks about members:

ParentChild: Tables with the EntityMetadata.IsChildEntity property set to true derive their security from the parent record. For example, SalesOrderDetail is a child of the SalesOrder table.

Pointer: The only available type of pointer record is ActivityPointer – the base class for all types of activity records. All activity records share the same privileges. If you can create an activity you can create any type of activity.

:

Applies to

See also