Table of Contents

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

organizationId Guid

The organization.

shortName OrganizationShortName

The new short name.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<OrganizationWriteResult>

Written, UnknownOrganization, or ShortNameTaken.

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.