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

# NSProvidedCredential

## Constructors

### NSProvidedCredential()

```crmscript theme={null}
NSProvidedCredential
```

Initializes a new instance of the NSProvidedCredential class.

## Methods

## GetCredentialId()

```crmscript theme={null}
Integer GetCredentialId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetDisplayName()

```crmscript theme={null}
String GetDisplayName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)

## GetSearchName()

```crmscript theme={null}
String GetSearchName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)

## GetType()

```crmscript theme={null}
String GetType()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)

## SetCredentialId(Integer)

```crmscript theme={null}
Void SetCredentialId(Integer id)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetDisplayName(String)

```crmscript theme={null}
Void SetDisplayName(String displayName)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetSearchName(String)

```crmscript theme={null}
Void SetSearchName(String searchName)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetType(String)

```crmscript theme={null}
Void SetType(String type)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)


## Related topics

- [NSSoPrincipalCarrier](/en/automation/crmscript/reference/CRMScript.NetServer.NSSoPrincipalCarrier.md)
- [SuperOffice.WebApi.Data.ProvidedCredential](/en/api/reference/webapi/SuperOffice.WebApi.Data.ProvidedCredential.md)
- [SuperOffice.WebApi.Data.SoPrincipalCarrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.SoPrincipalCarrier.md)
- [NetServer Security element](/en/onsite/web-config/security.md)
- [NetServer Data element](/en/onsite/web-config/data.md)
- [Get Current Principal](/en/api/reference/restful/rest/user/get-current-principal.md)
