17.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>
17.55.1. Inheritance
17.55.2. Implements
17.55.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
17.55.4. Constructors
17.55.4.1. UserDataAfterLookup(ObjectId, string, IEnumerable<RoleData>)
MongoDB mapping for intermediate object, internally used
public UserDataAfterLookup(ObjectId UserId, string Username, IEnumerable<RoleData> Roles)
17.55.4.1.1. Parameters
UserId ObjectId
User ID
Username string
Username
Roles IEnumerable<RoleData>
List of roles of the user
17.55.5. Properties
17.55.5.1. Roles
List of roles of the user
public IEnumerable<RoleData> Roles { get; init; }
17.55.5.1.1. Property Value
17.55.5.2. UserId
User ID
[BsonId]
public ObjectId UserId { get; init; }
17.55.5.2.1. Property Value
ObjectId
17.55.5.3. Username
Username
public string Username { get; init; }