<!-- sdk-ref package=PairSystems.Goodmem.Client registry=nuget version=2.0.2 -->

# AccessPolicy.RoleAssignmentsGetAsync

Get a scoped role assignment.

```csharp
Task<RoleAssignment> RoleAssignmentsGetAsync(string id, AccessPolicyRoleAssignmentsGetOptions? options = null, CancellationToken ct = default)
```

[AccessPolicy](../AccessPolicy.md) · [.NET](../../dotnet.md)

Related types — open only those used by your request:

- [AccessPolicyRoleAssignmentsGetOptions](../models/AccessPolicyRoleAssignmentsGetOptions.md)
