Share via


FieldRestriction Class

Definition

The restrictions on a field imposed by a specific policy.

public class FieldRestriction
type FieldRestriction = class
Public Class FieldRestriction
Inheritance
FieldRestriction

Constructors

FieldRestriction()

Initializes a new instance of the FieldRestriction class.

FieldRestriction(String, String, IList<String>, PolicyReference)

Initializes a new instance of the FieldRestriction class.

Properties

DefaultValue

Gets the value that policy will set for the field if the user does not provide a value.

Policy

Gets the details of the policy that is causing the field restriction.

Result

Gets the type of restriction that is imposed on the field. Possible values include: 'Required', 'Removed', 'Deny'

Values

Gets the values that policy either requires or denies for the field.

Applies to