23.114. Class RoleData

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

Role object in database

public record RoleData : IEquatable<RoleData>

23.114.1. Inheritance

objectRoleData

23.114.2. Implements

IEquatable<RoleData>

23.114.3. Inherited Members

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

23.114.4. Constructors

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

Role object in database

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

23.114.4.1.1. Parameters

RoleId int

Role Id

RoleName string

Role Name

Permissions string[]

Permissions list, as strings

23.114.5. Properties

23.114.5.1. Permissions

Permissions list, as strings

public string[] Permissions { get; init; }

23.114.5.1.1. Property Value

string[]

23.114.5.2. RoleId

Role Id

public int RoleId { get; init; }

23.114.5.2.1. Property Value

int

23.114.5.3. RoleName

Role Name

public string RoleName { get; init; }

23.114.5.3.1. Property Value

string