22.118. Class UserData

Namespace: ArmoniK.Core.Common.Auth.Authentication
Assembly: ArmoniK.Core.Common.dll

User object in database

public record UserData : IEquatable<UserData>

22.118.1. Inheritance

objectUserData

22.118.2. Implements

IEquatable<UserData>

22.118.3. Inherited Members

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

22.118.4. Constructors

22.118.4.1. UserData(int, string, int[])

User object in database

public UserData(int UserId, string Username, int[] Roles)

22.118.4.1.1. Parameters

UserId int

User Id

Username string

User name

Roles int[]

User roles

22.118.5. Properties

22.118.5.1. Roles

User roles

public int[] Roles { get; init; }

22.118.5.1.1. Property Value

int[]

22.118.5.2. UserId

User Id

public int UserId { get; init; }

22.118.5.2.1. Property Value

int

22.118.5.3. Username

User name

public string Username { get; init; }

22.118.5.3.1. Property Value

string