Table of Contents

Constructor OrganizationWriteResult

Namespace
MailFathom.Application.Access.Organizations
Assembly
MailFathom.Application.dll

OrganizationWriteResult(OrganizationWriteOutcome, Guid, int, string?, int, int)

What an act on an organization did, and what a refusal has to name for an administrator to act on it.

public OrganizationWriteResult(OrganizationWriteOutcome Outcome, Guid OrganizationId = default, int RemainingMembers = 0, string? CollidingUsername = null, int RemainingMailAccounts = 0, int StandingAssignments = 0)

Parameters

Outcome OrganizationWriteOutcome

What the act did, or why it did nothing.

OrganizationId Guid

The organization the act reached, which a creation reports because it minted it.

RemainingMembers int

How many members stood in the way of a deletion; zero for every other outcome.

CollidingUsername string

The username the target scope already holds, where a move was refused for one and the collision could be read.

RemainingMailAccounts int

How many mail accounts stood in the way of a deletion; zero for every other outcome.

StandingAssignments int

How many assignments a move would have left straddling two organizations: a moved user's accounts, or a moved account's users — or, for SharedOnlyInOrganization, how many users the account leaving every organization is assigned to; zero for every other outcome.