IAzureCosmosDbGetRoleById(Guid, CancellationToken) Method
Gets role by ID, for use in the Mt Role Store.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<RoleDto?> GetRoleById(
Guid roleId,
CancellationToken cancellationToken = default
)
- roleId Guid
- Id of the role
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskRoleDtoFound role (if any)
ONLY USE THIS METHOD IN THE MtRoleStore! DO NOT use this method anywhere else! Otherwise,
users could potentially access roles belonging to other companies!