Method CreateGroupAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
CreateGroupAsync(Guid, string, Guid?, DateTimeOffset, CancellationToken)
Records a group.
Task<GrantWriteResult> CreateGroupAsync(Guid groupId, string name, Guid? organizationId, DateTimeOffset createdAt, CancellationToken cancellationToken)
Parameters
groupIdGuidThe identifier the group is to carry.
namestringThe name an operator reads it by, already judged.
organizationIdGuid?The organization it belongs to, or null for none.
createdAtDateTimeOffsetWhen it was recorded.
cancellationTokenCancellationTokenCancels the write.