21.122. Class UserData
Namespace: ArmoniK.Core.Common.Auth.Authentication
Assembly: ArmoniK.Core.Common.dll
User object in database
public record UserData : IEquatable<UserData>
21.122.1. Inheritance
21.122.2. Implements
21.122.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.122.4. Constructors
21.122.4.1. UserData(int, string, int[])
User object in database
public UserData(int UserId, string Username, int[] Roles)
21.122.4.1.1. Parameters
UserId int
User Id
Username string
User name
Roles int[]
User roles
21.122.5. Properties
21.122.5.1. Roles
User roles
public int[] Roles { get; init; }
21.122.5.1.1. Property Value
int[]
21.122.5.2. UserId
User Id
public int UserId { get; init; }
21.122.5.2.1. Property Value
21.122.5.3. Username
User name
public string Username { get; init; }