# CreateProfile(string)

> Creates a new profile with the given profile ID.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.ShortcutManagement](/engine/6000.5/script-reference/unityeditor/shortcutmanagement.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
void CreateProfile(string profileId)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): ID of created profile.

### Remarks

Throws `ArgumentNullException` if `profileId` is `null`. Throws `ArgumentException` if `profileId` is invalid. Throws `ArgumentException` if `profileId` is not unique, i.e. when [IShortcutManager.GetAvailableProfileIds](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/ishortcutmanager/getavailableprofileids.md) contains `profileId`.
