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

# <a id="SuperOffice_WebApi_Data_ProvidedCredential" /> Class ProvidedCredential

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

Carrier object for ProvidedCredential.
Representation of how the current user got authenticated

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

#### Inheritance

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

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_ProvidedCredential_CredentialId" /> CredentialId

The credential row that allowed us access

```csharp theme={null}
public virtual int CredentialId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ProvidedCredential_DisplayName" /> DisplayName

The display name used in display fields

```csharp theme={null}
public virtual string DisplayName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ProvidedCredential_SearchName" /> SearchName

The search name used for looking up

```csharp theme={null}
public virtual string SearchName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ProvidedCredential_Type" /> Type

The type of credential. This will reflect the value in Credential.Type

```csharp theme={null}
public virtual string Type { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)


## Related topics

- [SuperOffice.WebApi.Data.SoPrincipalCarrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.SoPrincipalCarrier.md)
- [SuperOffice.WebApi.Agents.IUserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IUserAgent.md)
- [SuperOffice.WebApi.Agents.UserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.UserAgent.md)
- [SuperOffice.WebApi.Data.Credential](/en/api/reference/webapi/SuperOffice.WebApi.Data.Credential.md)
- [SuperOffice.WebApi.Data.CredentialType](/en/api/reference/webapi/SuperOffice.WebApi.Data.CredentialType.md)
- [SuperOffice.WebApi.Data.CredentialUser](/en/api/reference/webapi/SuperOffice.WebApi.Data.CredentialUser.md)
