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

# Enum AssociateSourceType

> Describes what source the associates should be retrieved from.

Describes what source the associates should be retrieved from.

## Syntax

```crmscript theme={null}
AssociateSourceType
```

## Fields

| Name          | Description                                                                                 |
| ------------- | ------------------------------------------------------------------------------------------- |
| Unknown       | Unknown - used when initializing                                                            |
| History       | Associate is retrieved from the history list                                                |
| DiaryViewList | Associate is retrieved from the diary view list                                             |
| Department    | Associate is retrieved from the department (usergroup) list                                 |
| All           | Enumeration generated from the wsdl doesn't handle the \[Flags] attribute (bit enumeration) |


## Related topics

- [SuperOffice.WebApi.Data.AssociateSourceType](/en/api/reference/webapi/SuperOffice.WebApi.Data.AssociateSourceType.md)
- [SuperOffice.WebApi.Agents.PersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.PersonAgent.md)
- [SuperOffice.WebApi.Agents.IPersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IPersonAgent.md)
- [Enum ContactSourceType](/en/automation/crmscript/reference/CRMScript.NetServer.ContactSourceType.md)
- [Enum values for CopilotDataSourceType](/en/database/tables/enums/copilotdatasourcetype.md)
- [Enum AssociateType](/en/automation/crmscript/reference/CRMScript.NetServer.AssociateType.md)
