Class AssignmentPrincipal
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
Who a role assignment is given to: one user, or every member of one group.
public sealed record AssignmentPrincipal : IEquatable<AssignmentPrincipal>
- Inheritance
-
AssignmentPrincipal
- Implements
- Inherited Members
Properties
- Id
Gets the identifier of the user or the group.
- Kind
Gets whether the principal is a user or a group.
Methods
- Group(Guid)
Creates the principal naming one group.
- User(UserId)
Creates the principal naming one user.