Dela via


PrivilegeType Enumeration

 

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

Describes the type of operation for the privilege

For the Web API use the PrivilegeType EnumType.

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

Syntax

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

Members

Member name Description
Append

The append privilege. Value = 7.

AppendTo

The append to privilege. Value = 8.

Assign

The assign privilege. Value = 5.

Create

The create privilege. Value = 1.

Delete

The delete privilege. Value = 4.

None

Specifies no privilege. Value = 0.

Read

The read privilege. Value = 2.

Share

The share privilege. Value = 6.

Write

The write privilege. Value = 3.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace
How role-based security can be used to control access to entities in Microsoft Dynamics 365

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright