21.55. 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>
21.55.1. Inheritance
21.55.2. Implements
21.55.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.55.4. Constructors
21.55.4.1. UserDataAfterLookup(ObjectId, string, IEnumerable<RoleData>)
MongoDB mapping for intermediate object, internally used
public UserDataAfterLookup(ObjectId UserId, string Username, IEnumerable<RoleData> Roles)
21.55.4.1.1. Parameters
UserId ObjectId
User ID
Username string
Username
Roles IEnumerable<RoleData>
List of roles of the user
21.55.5. Properties
21.55.5.1. Roles
List of roles of the user
public IEnumerable<RoleData> Roles { get; init; }
21.55.5.1.1. Property Value
21.55.5.2. UserId
User ID
[BsonId]
public ObjectId UserId { get; init; }
21.55.5.2.1. Property Value
ObjectId
21.55.5.3. Username
Username
public string Username { get; init; }