# GetProviderIds()

> Returns all the search provider ids in the current search context.

## Definition

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

```csharp
public IEnumerable<string> GetProviderIds()
```

### Returns

| Type                                                                                                    | Description                     |
| ------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [IEnumerable\<string>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | All unique search provider ids. |
