FieldPermissionType Class

 

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

Defines the possible field permission types.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.FieldPermissionType

Syntax

public static class FieldPermissionType
Public NotInheritable Class FieldPermissionType

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Validate(Int32)

Validates the field permission value.

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static Allowed

The action is allowed. Value = 4.

System_CAPS_pubfieldSystem_CAPS_static NotAllowed

The action is not allowed. Value = 0.

Remarks

These values are used to set the FieldPermission.CanCreate, CanRead and CanUpdate attributes.

Corresponds to the values of the A Yes or No Boolean (field_security_permission_type) global option set.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright