DapperMaticMembershipInfo
Namespace: MJCZone.DapperMatic.AspNetCore.Accounts
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
A membership as it is shown.
Inheritance
Implemented Interfaces:
- IEquatable
sealed public
Contents
Constructors (1) | Methods (2) | Properties (8)
Constructors
DapperMaticMembershipInfo
csharp
DapperMaticMembershipInfo()Methods
Of
Shows a membership.
csharp
DapperMaticMembershipInfo Of(DapperMaticMembership membership)Parameters
- membership (DapperMaticMembership) - The membership.
Returns
Type: DapperMaticMembershipInfo
What is shown.
GetType
csharp
GetType()Properties
Id
The membership's id.
Type: string
UserId
The account's id.
Type: string
Tenant
The tenant.
Type: string
Roles
The roles there.
Type: IReadOnlyList<string>
IsGrant
Whether it is a platform user's grant.
Type: bool
GrantedBy
Who made it.
Type: string?
Reason
Why (a grant's).
Type: string?
ExpiresAt
When it ends, or null.
Type: DateTimeOffset?