Class Organization
- Namespace
- MailFathom.Application.Access.Organizations
- Assembly
- MailFathom.Application.dll
One organization this deployment holds, as an administrator lists it.
public sealed record Organization : IEquatable<Organization>
- Inheritance
-
Organization
- Implements
- Inherited Members
Remarks
An organization groups users and mail accounts, scopes a Basic username, and keeps an assignment inside itself: an account in it is assigned only to its members, and an account in none to one user in none — sharing a mailbox is something an organization does. No setting is declared on it and nothing a request is served by changes because of it, so what it carries is what an operator needs to tell companies apart.
Constructors
- Organization(Guid, string, OrganizationShortName, int, int, DateTimeOffset)
One organization this deployment holds, as an administrator lists it.
Fields
- MaximumDisplayNameLength
The longest display name an organization is recorded under.
Properties
- CreatedAt
When it was recorded.
- DisplayName
The name an operator reads the organization by.
- Id
The identifier the deployment generated, which every act on the organization names.
- MailAccounts
How many mail accounts belong to it, which is the other half.
- Members
How many users belong to it, which is one half of what decides whether it may be deleted.
- ShortName
The short name its members sign in under.