Partilhar via


SecurityTypes Enumeration

 

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

Describes the security type for the relationship.

For the Web API use the SecurityTypes 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

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

Members

Member name Description
Append

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

Inheritance

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

None

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

ParentChild

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

Pointer

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

Remarks

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

See Also

RelationshipMetadataBase
SecurityTypes
Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity relationship metadata

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright