# ParticipantRoleExtensions

Package: [Microsoft.Orleans.Transactions](/orleans/docs/api/csharp/microsoft.orleans.transactions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/ParticipantId.cs#L56)

```csharp
public static class ParticipantRoleExtensions
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Methods

- [IsManager(ParticipantId)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/ismanager-this-orleans-transactions-participantid-9617c9f8/)
- [IsPriorityManager(ParticipantId)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/isprioritymanager-this-orleans-transactions-participantid-5623d924/)
- [IsResource(ParticipantId)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/isresource-this-orleans-transactions-participantid-b0a33745/)
- [SelectManagers(IEnumerable&lt;KeyValuePair&lt;ParticipantId, AccessCounter&gt;&gt;)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/selectmanagers-this-system-collections-generic-ienumerable-system-collections-ge-82bf9f2a/)
- [SelectPriorityManagers(IEnumerable&lt;ParticipantId&gt;)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/selectprioritymanagers-this-system-collections-generic-ienumerable-orleans-trans-39f5246e/)
- [SelectResources(IEnumerable&lt;KeyValuePair&lt;ParticipantId, AccessCounter&gt;&gt;)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/selectresources-this-system-collections-generic-ienumerable-system-collections-g-5e62fa7d/)
- [SupportsRoles(ParticipantId, Role)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantroleextensions/methods/supportsroles-this-orleans-transactions-participantid-orleans-transactions-parti-6a97bd58/)
