21.56. 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.56.1. Inheritance

objectUserDataAfterLookup

21.56.2. Implements

IEquatable<UserDataAfterLookup>

21.56.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

21.56.4. Constructors

21.56.4.1. UserDataAfterLookup(ObjectId, string, IEnumerable<RoleData>)

MongoDB mapping for intermediate object, internally used

public UserDataAfterLookup(ObjectId UserId, string Username, IEnumerable<RoleData> Roles)

21.56.4.1.1. Parameters

UserId ObjectId

User ID

Username string

Username

Roles IEnumerable<RoleData>

List of roles of the user

21.56.5. Properties

21.56.5.1. Roles

List of roles of the user

public IEnumerable<RoleData> Roles { get; init; }

21.56.5.1.1. Property Value

IEnumerable<RoleData>

21.56.5.2. UserId

User ID

[BsonId]
public ObjectId UserId { get; init; }

21.56.5.2.1. Property Value

ObjectId

21.56.5.3. Username

Username

public string Username { get; init; }

21.56.5.3.1. Property Value

string