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

# PrincipalRead

> The outcome of reading one principal.

```csharp
[JsonPolymorphic(TypeDiscriminatorPropertyName = "kind")]
[JsonDerivedType(typeof(PrincipalRead.Held), "held")]
[JsonDerivedType(typeof(PrincipalRead.Absent), "absent")]
[JsonDerivedType(typeof(PrincipalRead.Unknown), "unknown")]
public abstract record PrincipalRead : IEquatable<PrincipalRead>
```

**Implements:** `IEquatable<PrincipalRead>`

## Constructors

```csharp
protected PrincipalRead(PrincipalRead original)
```

### Parameters

**original** `PrincipalRead` *required*

## Properties

**EqualityContract** `Type` *required*

## Methods

### Equals()

```csharp
public virtual bool Equals(PrincipalRead? other)
```

#### Parameters

**other** `PrincipalRead` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

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

#### Returns

`int`

### operator !=()

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

#### Parameters

**left** `PrincipalRead` *required*

**right** `PrincipalRead` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `PrincipalRead` *required*

**right** `PrincipalRead` *required*

#### Returns

`bool`

### PrintMembers()

```csharp
protected virtual bool PrintMembers(StringBuilder builder)
```

#### Parameters

**builder** `StringBuilder` *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.