> ## 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.TableRight

# <a id="SuperOffice_WebApi_Data_TableRight" /> Class TableRight

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

Carrier object for TableRight.
Wraps a table right together with an explanatory reason.

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

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[TableRight](SuperOffice.WebApi.Data.TableRight.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_TableRight__ctor" /> TableRight()

Default constructor - defaults any enum props to 0.

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

## Properties

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

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

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

#### Property Value

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

#### See Also

[TableRight](SuperOffice.WebApi.Data.TableRight.md).[Mask\_String](SuperOffice.WebApi.Data.TableRight.md#SuperOffice_WebApi_Data_TableRight_Mask_String)

### <a id="SuperOffice_WebApi_Data_TableRight_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

[TableRight](SuperOffice.WebApi.Data.TableRight.md).[Mask](SuperOffice.WebApi.Data.TableRight.md#SuperOffice_WebApi_Data_TableRight_Mask)

### <a id="SuperOffice_WebApi_Data_TableRight_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.PocketStartupData](/en/api/reference/webapi/SuperOffice.WebApi.Data.PocketStartupData.md)
- [SuperOffice.WebApi.Data.Carrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.Carrier.md)
- [SuperOffice.WebApi.Data.DataRight](/en/api/reference/webapi/SuperOffice.WebApi.Data.DataRight.md)
- [SuperOffice.WebApi.Data.DataRights](/en/api/reference/webapi/SuperOffice.WebApi.Data.DataRights.md)
- [SuperOffice.WebApi.Agents.ISentryAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ISentryAgent.md)
- [SuperOffice.WebApi.Agents.SentryAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.SentryAgent.md)
