22.53. Class UserDataAfterLookup
Namespace: ArmoniK.Core.Adapters.MongoDB.Table.DataModel.Auth
Assembly: ArmoniK.Core.Adapters.MongoDB.dll
MongoDB mapping for intermediate object, internally used
[BsonIgnoreExtraElements]
public record UserDataAfterLookup : IEquatable<UserDataAfterLookup>
22.53.1. Inheritance
22.53.2. Implements
22.53.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.53.4. Constructors
22.53.4.1. UserDataAfterLookup(int, string, IEnumerable<RoleData>)
MongoDB mapping for intermediate object, internally used
public UserDataAfterLookup(int UserId, string Username, IEnumerable<RoleData> Roles)
22.53.4.1.1. Parameters
UserId int
User ID
Username string
Username
Roles IEnumerable<RoleData>
List of roles of the user
22.53.5. Properties
22.53.5.1. Roles
List of roles of the user
public IEnumerable<RoleData> Roles { get; init; }
22.53.5.1.1. Property Value
22.53.5.2. UserId
User ID
[BsonId]
public int UserId { get; init; }
22.53.5.2.1. Property Value
22.53.5.3. Username
Username
public string Username { get; init; }