Method ChangeShortNameAsync
- Namespace
- MailFathom.Application.Access.Organizations
- Assembly
- MailFathom.Application.dll
ChangeShortNameAsync(Guid, OrganizationShortName, CancellationToken)
Replaces the short name an organization's members sign in under.
Task<OrganizationWriteResult> ChangeShortNameAsync(Guid organizationId, OrganizationShortName shortName, CancellationToken cancellationToken)
Parameters
organizationIdGuidThe organization.
shortNameOrganizationShortNameThe new short name.
cancellationTokenCancellationTokenCancels the write.
Returns
Remarks
No credential is rewritten: each names the organization by identifier, so every member's password works under the new short name from the moment this commits.