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

# PrincipalTrait

> What a vendor reports about a principal.

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

**Implements:** `IEquatable<PrincipalTrait>`

## Constructors

```csharp
public PrincipalTrait()
```

## Properties

**AccountType** `Nullable\<AccountType\>`

**Type:** `Nullable<AccountType>`

The kind of identity it is.

**Emails** `IReadOnlyList\<string\>` *required*

The email addresses the vendor reports.

**EmployeeIds** `IReadOnlyList\<string\>` *required*

The employee ids the vendor reports.

**LastLogin** `Instant?`

When it last signed in.

**MfaEnabled** `bool?`

Whether it has multi-factor authentication on.

**SsoEnabled** `bool?`

Whether it signs in through single sign-on.

**Status** `Nullable\<PrincipalStatus\>`

**Type:** `Nullable<PrincipalStatus>`

Whether it can sign in.

## Methods

### Equals()

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

#### Parameters

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

#### Parameters

**left** `PrincipalTrait` *required*

**right** `PrincipalTrait` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `PrincipalTrait` *required*

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