# GetActiveProviders()

> Returns all active providers.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static IEnumerable<SearchProvider> GetActiveProviders()
```

### Returns

| Type                                                                                                            | Description                     |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [IEnumerable\<SearchProvider>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | Enumerate all active providers. |

### Remarks

Active providers can be found in the user search preferences. Globally active providers are the one that are assigned to new search context by default.
