Constructor RoleAssignment
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
RoleAssignment(Guid, Guid, AssignmentPrincipal, AssignmentScope, DateTimeOffset)
One role given to one user or group at one scope.
public RoleAssignment(Guid Id, Guid RoleId, AssignmentPrincipal Principal, AssignmentScope Scope, DateTimeOffset AssignedAt)
Parameters
IdGuidThe identifier the assignment is revoked by.
RoleIdGuidThe role it gives.
PrincipalAssignmentPrincipalWho it is given to.
ScopeAssignmentScopeWhat it reaches.
AssignedAtDateTimeOffsetWhen it was given.