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

# PrincipalRef

> A principal, by its manifest kind and the vendor's id.

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

**Implements:** `IEquatable<PrincipalRef>`

## Constructors

```csharp
public PrincipalRef(string Kind, string Id)
```

A principal, by its manifest kind and the vendor's id.

### Parameters

**Kind** `string` *required*

**Id** `string` *required*

## Properties

**Id** `string` *required*

**Kind** `string` *required*

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Kind, out string Id)
```

#### Parameters

**Kind** `string` *required*

**Id** `string` *required*

### Equals()

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

#### Parameters

**other** `PrincipalRef` *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 !=(PrincipalRef? left, PrincipalRef? right)
```

#### Parameters

**left** `PrincipalRef` *required*

**right** `PrincipalRef` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `PrincipalRef` *required*

**right** `PrincipalRef` *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.