Constructor UserGroup
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
UserGroup(Guid, string, Guid?, int, DateTimeOffset)
One group of users, which a role can be assigned to so each member holds it.
public UserGroup(Guid Id, string Name, Guid? OrganizationId, int MemberCount, DateTimeOffset CreatedAt)
Parameters
IdGuidThe identifier every membership and assignment names the group by.
NamestringThe name an operator reads the group by, unique across the deployment.
OrganizationIdGuid?The organization the group belongs to, or null for a group in none.
MemberCountintHow many users belong to it.
CreatedAtDateTimeOffsetWhen the group was recorded.
Remarks
A group holds users and nothing else, so no group is a member of another and why somebody holds a permission is always one row away. A group in an organization holds only that organization's members, which is what lets the organization's administrator manage it; a group in no organization is the deployment's and holds anybody.