26.121. Class UserData
Namespace: ArmoniK.Core.Common.Auth.Authentication
Assembly: ArmoniK.Core.Common.dll
User object in database
public record UserData : IEquatable<UserData>
26.121.1. Inheritance
26.121.2. Implements
26.121.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.121.4. Constructors
26.121.4.1. UserData(int, string, int[])
User object in database
public UserData(int UserId, string Username, int[] Roles)
26.121.4.1.1. Parameters
UserId int
User Id
Username string
User name
Roles int[]
User roles
26.121.5. Properties
26.121.5.1. Roles
User roles
public int[] Roles { get; init; }
26.121.5.1.1. Property Value
int[]
26.121.5.2. UserId
User Id
public int UserId { get; init; }
26.121.5.2.1. Property Value
26.121.5.3. Username
User name
public string Username { get; init; }