> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.FieldRight

# <a id="SuperOffice_WebApi_Data_FieldRight" /> Class FieldRight

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for FieldRight.
Wraps a field right together with an explanatory reason.

```csharp theme={null}
public class FieldRight
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[FieldRight](SuperOffice.WebApi.Data.FieldRight.md)

#### Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_FieldRight__ctor" /> FieldRight()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public FieldRight()
```

## Properties

### <a id="SuperOffice_WebApi_Data_FieldRight_Mask" /> Mask

Returns the bitflag of permissions.
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public EFieldRight? Mask { get; set; }
```

#### Property Value

[EFieldRight](SuperOffice.WebApi.Data.EFieldRight.md)?

#### See Also

[FieldRight](SuperOffice.WebApi.Data.FieldRight.md).[Mask\_String](SuperOffice.WebApi.Data.FieldRight.md#SuperOffice_WebApi_Data_FieldRight_Mask_String)

### <a id="SuperOffice_WebApi_Data_FieldRight_Mask_String" /> Mask\_String

Returns the bitflag of permissions.
Raw string enum value.

```csharp theme={null}
[JsonProperty("Mask")]
public string Mask_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[FieldRight](SuperOffice.WebApi.Data.FieldRight.md).[Mask](SuperOffice.WebApi.Data.FieldRight.md#SuperOffice_WebApi_Data_FieldRight_Mask)

### <a id="SuperOffice_WebApi_Data_FieldRight_Reason" /> Reason

Contains a string that explains why the right is not available. The reason is blank if HasAll is true.

```csharp theme={null}
public virtual string Reason { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)


## Related topics

- [SuperOffice.WebApi.Data.FieldProperty](/en/api/reference/webapi/SuperOffice.WebApi.Data.FieldProperty.md)
- [SuperOffice.WebApi.Data.EFieldRight](/en/api/reference/webapi/SuperOffice.WebApi.Data.EFieldRight.md)
- [SuperOffice.WebApi.Data.Product](/en/api/reference/webapi/SuperOffice.WebApi.Data.Product.md)
- [SuperOffice.WebApi.Data.QuoteLine](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteLine.md)
- [Is Resource Substitution Active](/en/api/reference/restful/agent/resource_agent/is-resource-substitution-active.md)
- [Get Resource Substitutions](/en/api/reference/restful/agent/resource_agent/get-resource-substitutions.md)
