26.114. Class RoleData

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

Role object in database

public record RoleData : IEquatable<RoleData>

26.114.1. Inheritance

objectRoleData

26.114.2. Implements

IEquatable<RoleData>

26.114.3. Inherited Members

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

26.114.4. Constructors

26.114.4.1. RoleData(int, string, string[])

Role object in database

public RoleData(int RoleId, string RoleName, string[] Permissions)

26.114.4.1.1. Parameters

RoleId int

Role Id

RoleName string

Role Name

Permissions string[]

Permissions list, as strings

26.114.5. Properties

26.114.5.1. Permissions

Permissions list, as strings

public string[] Permissions { get; init; }

26.114.5.1.1. Property Value

string[]

26.114.5.2. RoleId

Role Id

public int RoleId { get; init; }

26.114.5.2.1. Property Value

int

26.114.5.3. RoleName

Role Name

public string RoleName { get; init; }

26.114.5.3.1. Property Value

string