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
OutcomeOrganizationWriteOutcomeWhat the act did, or why it did nothing.
OrganizationIdGuidThe organization the act reached, which a creation reports because it minted it.
RemainingMembersintHow many members stood in the way of a deletion; zero for every other outcome.
CollidingUsernamestringThe username the target scope already holds, where a move was refused for one and the collision could be read.
RemainingMailAccountsintHow many mail accounts stood in the way of a deletion; zero for every other outcome.
StandingAssignmentsintHow 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.