Class MultitenantUser
Represents a user in the multi-tenant identity system.
Inheritance
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>
MultitenantUser
Inherited Members
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.NormalizedUserName
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.NormalizedEmail
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.EmailConfirmed
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.PasswordHash
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.SecurityStamp
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.PhoneNumber
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.PhoneNumberConfirmed
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.TwoFactorEnabled
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.LockoutEnd
Microsoft.AspNetCore.Identity.IdentityUser<System.Guid>.AccessFailedCount
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
[Stream("User")]
public class MultitenantUser : IdentityUser, IValidUser, IHaveClaims, IEventSourced, IMultitenantUser, ILocalUser, IUser, IUserIdentifiers, IUniqueIdentifier, IHaveEmail, IEventAggregate, IMultitenantEntity, ISupportMultitenant
Properties
TenantId
Gets or sets the identity of the tenant that this user belongs to.
Declaration
public Guid TenantId { get; set; }
Property Value
System.Guid
|
Implements
Methods
GetClaims(String)
Gets a collection of claims for this user.
Declaration
public override IEnumerable<Claim> GetClaims(string userNameClaimType = "preferred_username")
Parameters
String
userNameClaimType
|
Returns
IEnumerable<System.Security.Claims.Claim>
A collection of claims. |
Overrides
Implements
Explicit Interface Implementations
ISupportMultitenant.OwnerId
Declaration
Guid ISupportMultitenant.OwnerId { get; }
Returns
System.Guid
|