Method DeleteGroupAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
DeleteGroupAsync(Guid, CancellationToken)
Removes a group nothing is assigned to, and its memberships with it.
Task<GrantWriteResult> DeleteGroupAsync(Guid groupId, CancellationToken cancellationToken)
Parameters
groupIdGuidThe group.
cancellationTokenCancellationTokenCancels the write.
Returns
- Task<GrantWriteResult>
Written, UnknownGroup, or StillAssigned carrying how many assignments stand in the way.