# ParticipantId Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantid/)

## ParticipantId(string, GrainReference, Role) {#constructor-string-orleans-runtime-grainreference-orleans-transactions-participa-cb084be5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantid/constructors/constructor-string-orleans-runtime-grainreference-orleans-transactions-participa-cb084be5/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/ParticipantId.cs#L34-L37)

```csharp
public ParticipantId(string name, GrainReference reference, Role supportedRoles)
```

### Parameters

- `name` (`string`)
- `reference` (`GrainReference`)
- `supportedRoles` (`Role`)
