ApiCoreFunctions
Function: rolesOf()
function rolesOf(state, did): readonly string[];Defined in: packages/core/src/space/roles.ts:424
The roles assigned to an account in a state, by name
Parameters
| Parameter | Type |
|---|---|
state | AccessState |
did | string |
Returns
readonly string[]