# GetMultiplayerRoleStringForBuildProfile(BuildProfile)

> Gets the multiplayer role string that is going to be used for the provided build profile.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Multiplayer.Editor](/engine/6000.7/script-reference/unity/multiplayer/editor.md)
* **Assembly:** UnityEditor

```csharp
public static string GetMultiplayerRoleStringForBuildProfile(BuildProfile profile)
```

### Parameters

**** (\[BuildProfile]\(/engine/6000.7/script-reference/unityeditor/build/profile/buildprofile)): The build profile to get the multiplayer role string for.

### Returns

| Type                                                           | Description                                                         |
| -------------------------------------------------------------- | ------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | Returns the multiplayer role string for the provided build profile. |
