26.116. Class UserData

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

User object in database

public record UserData : IEquatable<UserData>

26.116.1. Inheritance

objectUserData

26.116.2. Implements

IEquatable<UserData>

26.116.3. Inherited Members

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

26.116.4. Constructors

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

User object in database

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

26.116.4.1.1. Parameters

UserId int

User Id

Username string

User name

Roles int[]

User roles

26.116.5. Properties

26.116.5.1. Roles

User roles

public int[] Roles { get; init; }

26.116.5.1.1. Property Value

int[]

26.116.5.2. UserId

User Id

public int UserId { get; init; }

26.116.5.2.1. Property Value

int

26.116.5.3. Username

User name

public string Username { get; init; }

26.116.5.3.1. Property Value

string