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

# TenantAccount

> An account as the vendor holds it.

```csharp
public sealed record TenantAccount : IEquatable<TenantAccount>
```

**Implements:** `IEquatable<TenantAccount>`

## Constructors

```csharp
public TenantAccount(TenantStanding Standing, IReadOnlyDictionary<string, IReadOnlyCollection<string>> Grants)
```

An account as the vendor holds it.

### Parameters

**Standing** `TenantStanding` *required*

How it stands.

**Grants** `IReadOnlyDictionary\<string, IReadOnlyCollection\<string\>\>` *required*

What it holds, by entitlement field.

## Properties

**Grants** `IReadOnlyDictionary\<string, IReadOnlyCollection\<string\>\>` *required*

What it holds, by entitlement field.

**Standing** `TenantStanding` *required*

How it stands.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out TenantStanding Standing, out IReadOnlyDictionary<string, IReadOnlyCollection<string>> Grants)
```

#### Parameters

**Standing** `TenantStanding` *required*

**Grants** `IReadOnlyDictionary\<string, IReadOnlyCollection\<string\>\>` *required*

### Equals()

```csharp
public bool Equals(TenantAccount? other)
```

#### Parameters

**other** `TenantAccount` *required*

#### Returns

`bool`

```csharp
public override bool Equals(object? obj)
```

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

```csharp
public override int GetHashCode()
```

#### Returns

`int`

### Held()

```csharp
public IReadOnlyCollection<string> Held(string field)
```

Gets what it holds on one field.

#### Parameters

**field** `string` *required*

#### Returns

`IReadOnlyCollection<string>`

### operator !=()

```csharp
public static bool operator !=(TenantAccount? left, TenantAccount? right)
```

#### Parameters

**left** `TenantAccount` *required*

**right** `TenantAccount` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(TenantAccount? left, TenantAccount? right)
```

#### Parameters

**left** `TenantAccount` *required*

**right** `TenantAccount` *required*

#### Returns

`bool`

### ToString()

```csharp
public override string ToString()
```

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.